How to manipulate file structure quickly on a NAS device
It turns out that if I want to remove a gigantic folder from my Buffalo NAS device, all I have to do is delete it from Ubuntu instead of from Windows. It's instant instead of taking days.
First, though, you'll have to mount the Windows Share.
How to mount the Windows share in Ubuntu(note: this is the equivalent of what we're doing in Windows when we "map" a drive)
- Install CIFS:
sudo apt-get install cifs-utils
- Create the mount directory
sudo mkdir /media/windowsshare
- Then edit your /etc/fstab file
sudo gedit /etc/fstab
- Add this line to the fstab file where servername is the IP address of the NAS device (and remember to save the file):
//servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0
- Now mount the Windows share:
sudo mount -a
- In the files structure, look for windowsshare