bad charecter in file name
I have a file name with an exclamation point in it.
Who do you know!.html No matter what I use, I always get this message: Quote:
Code:
cp, rename. rename.ul, mv, chrome, firefox, opera, konqueror, All return the above error or produce no results. Since the word 'bash' shows up in the error message, is this 'bash' causing this problem????? Is there a way to rename this file? Any help will be appreciated. Thanks Dave |
If it is the only file with the name beginning with 'Who do you' then this should work to remove or rename it:
Code:
rm 'Who do you'* |
you can always put a \ in front of the ! to tell the system to treat ! as a char and not a command.
example: Code:
mv foo\!.com to foo.com |
Quote:
Thaksfor the reply. |
you can always rename the file with the inode number:
Code:
[user@user New_Zealand_Wallpapers]$ ls -laF you dont have to remove, but just mv the file to an other name. process is basically the same. |
All times are GMT -5. The time now is 08:13 PM. |