View Single Post
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007
#18
Originally Posted by fatalsaint View Post
Just for future note to people.. to delete a file with a space in command line you need to use an escape character (\).. so

Code:
rm -f my\ file.mp3
Also.. if you press tab after typing part of a file name; if it's the only file in the directory that starts that way it will auto-complete the filename for you.. with the escape's where they are needed. So typing "my" and press tab.. will produce the above result.
You can also quote the file name: "my file.mp3".