squirrellydw Posted August 19, 2010 Share Posted August 19, 2010 I am trying to delete a file through my Mac but it keeps saying its in use. How can I do this though telnet or another way. No idea why it won't let me delete it. Link to comment
kizer Posted August 19, 2010 Share Posted August 19, 2010 rm would remove a file. rm nameoffile.avi Of course you could use wildcards like rm nameof* to keep it short, but becareful using * because you could delete to much messing around with it. rm --help would give you a huge line of options if you choose. rm -fr nameoffolder would delete an entire folder and all of its contents. -f meaning , don't prompt me -r meaning recursive Link to comment
squirrellydw Posted August 19, 2010 Author Share Posted August 19, 2010 Thanks Kizer, I deleted one file but I can't get the the directory to delete the other one. Is there something special I need to do for a space? Trying to connect to TV Shows and delete a file in there Link to comment
Joe L. Posted August 19, 2010 Share Posted August 19, 2010 Thanks, I deleted one file but I can't get the the directory to delete the other one. Is there something special I need to do for a space? Trying to connect to TV Shows and delete a file in there either precede the space with a backslash, or quote the entire name cd /mnt/user/TV\ Shows or cd "/mnt/user/TV Shows" Link to comment
kizer Posted August 19, 2010 Share Posted August 19, 2010 I just lazy it up. I just type in part of the word and hit the "TAB" key which most of the time auto completes Link to comment
squirrellydw Posted October 20, 2010 Author Share Posted October 20, 2010 what do I have to type in to delete this file. rm 1-09 Fleet Of Hope.mp3 isn't working? Link to comment
Joe L. Posted October 20, 2010 Share Posted October 20, 2010 what do I have to type in to delete this file. rm 1-09 Fleet Of Hope.mp3 isn't working? Surround the name with quotes. rm "1-09 Fleet Of Hope.mp3" Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.