LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-16-2005, 04:03 PM   #1
neocontrol
Member
 
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
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

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


Reply


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


All times are GMT -5. The time now is 08:14 AM.

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