Contents
What characters Cannot be used in a folder name?
Do not use any of these common illegal characters/symbols:
- # pound. % percent. & ampersand. { left curly bracket. } right curly bracket.
- < left angle bracket. > right angle bracket. * asterisk. ? question mark.
- $ dollar sign. ! exclamation point. ‘ single quotes. ” double quotes.
- + plus sign. ` backtick. | pipe. = equal sign.
How to remove characters from file names and folders?
Once you have Name Mangler installed, launch it. Drag all of the folder you want to rename into the panel where it says “Drag Files and Folders Here”. On the right choose “Find and Replace”. Enter “<“. Under “Replace with” enter the character you want to replace “<” with or leave blank to remove it.
How to delete a file with a new name?
If this command successfully renames the file, you can then use the rm command to delete the file using the new name. If this doesn’t work, insert a backslash ( \\ ) before the meta-character in your filename. The backslash causes the character that follows to be interpreted literally. For example, to remove the file named my$project, enter:
How to delete files with spaces in their name?
Try the regular rm command and enclose your troublesome filename in quotes. This may solve the problem of deleting files with spaces in their name, for example: rm “File Name”. You can also remove some other characters in this manner, for example: rm “filename;#” The quotes prevent the semicolon from being interpreted as a stacking command.
How to delete a file with meta characters?
To remove a file with such meta-characters, you may have to FTP into the account containing the file from a separate account and enter the command: You will be asked if you really wish to delete each file in the directory. Be sure to answer n (for no) for each file except the file containing the difficult character that you wish to delete.