NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Krokstadelven
Apr 13, 2014Aspirant
Unable to delete files and folders with tilde (~)
I have a folder with a few ("torrent")files on the Readynas which it seems to be impossible to get rid of.
The files in question have one common property; their names all contain a tilde / "~" .
I've tried deleting it directly from windows explorer and also from a dos-window, to no avail. The response from the system is always the same: "the system cannot find the file specified"
Both the computer and the NAS has been rebooted a lot of times since they appeared
The files in question have one common property; their names all contain a tilde / "~" .
I've tried deleting it directly from windows explorer and also from a dos-window, to no avail. The response from the system is always the same: "the system cannot find the file specified"
Both the computer and the NAS has been rebooted a lot of times since they appeared
6 Replies
Replies have been turned off for this discussion
- JMehringApprenticeIf you can ssh into the NAS change to the directory holding the file and remove it manually like this:
cd /tmp/location_of_file
rm ./~this-is-a-file-with-tilde-in-front-of-it
Make sure you add the ./ before the name of file - KrokstadelvenAspirantExcuse my ignorance;
To SSH into the NAS, is it depending on that the server is set up to accept SSH-sessions in any way?
(I tried with Putty, but the only response I had was "Putty Fatal Error | Network error: Connection refused") - JMehringApprenticeI am not too familiar with Windows but another thing you could try to do before you ssh into your NAS is first just try to see if you can rename the file in Windows Explorer (IE: remove the tilde). That works in Linux, so maybe it will in Windows as well.
If not, you do have to enable SSH in the web administration interface. Under System .. Settings .. Services you will need to make sure the SSH toggle is on (will show green line under it if on). Then you can use Putty to ssh to the NAS on the usual port of 22 using root ad the login name and the password will be the same as you use for web admin interface. - Ki_Adi_MundiNETGEAR ExpertFor RAIDiator-4.2.x , you need to enable ssh by install an addon.
http://www.readynas.com/?p=4203 - StephenBGuru - Experienced UserAnother approach (which avoids ssh) is to enable http for the share in the Web UI. Then try to delete the files from the web interface instead of from windows.
Frequently the web UI will successfully delete files and folders that Windows won't. - KrokstadelvenAspirant
StephenB wrote: Another approach (which avoids ssh) is to enable http for the share in the Web UI. Then try to delete the files from the web interface instead of from windows.
Frequently the web UI will successfully delete files and folders that Windows won't.
It worked like magic, Stephen! Thank you!
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!