Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-16-2005, 04:03 PM   #1
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
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.
Old 07-16-2005, 04:09 PM   #2
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba trouble - directories, but no files adityamalik Linux - Networking 2 09-27-2006 12:12 AM
Deleting Directories J_Bone Linux - Newbie 4 08-17-2003 04:19 PM
deleting directories AZDAVE Linux - Newbie 1 08-15-2003 10:05 AM
Deleting directories with files in them AMDPwred Linux - General 7 02-16-2003 12:06 PM
Havin trouble allowing FTP users to access files and directories bripage Linux - Networking 9 04-15-2002 03:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration