LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trouble deleting files / directories (https://www.linuxquestions.org/questions/linux-software-2/trouble-deleting-files-directories-343819/)

neocontrol 07-16-2005 04:03 PM

trouble deleting files / directories
 
im tring to go thru a directory and get rid of some useless stuff. my problem is that i have directories that wont allow me to do anything to them, even in root.

i cant look into them, i cant delete them, i cant move them.

would certin characters effect how linux acts with the directory name? most of these were "dumped" off of a windows xp box, so they are really long with some characters you dont usually use for a filename. example being "&" and
" ' "

heres an example of one of my directories.

Lynard\ Skynard\ -\ Live\ -\ disk\ 1\ &\ 2

thanks for any help or insight.

taylor_venable 07-16-2005 04:09 PM

Special Characters
 
Any character treated as "special" by the shell you're using needs to be escaped if it's part of a filename. For example, space, hash (pound), back-slash, forward-slash, and much more. But these characters, though most of them apply to many shells, are in the end shell-dependent. If you're doing this by hand and using bash, tab-completion can be a real help, because names generated by tab-completion are automatically appropriately escaped.


All times are GMT -5. The time now is 11:41 AM.