Reply
Thread Tools
rokafellaskank's Avatar
Posts: 83 | Thanked: 4 times | Joined on Mar 2010 @ Birmingham England
#11
what is the 'BusyBox'?

is that whats stopping me from deleting the files, if so, is there any way to change it?
i'm sorry for being such a pain in the arse, but i am desperate.
 
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#12
Try that:
- cd to the directory from where you want to start removing 'desktop.ini' files.

Code:
#~ cd /home/user/MyDocs/Downloads/Folder
- Then use this command to find all desktop.ini files (it's a multiline command, a ">" will appear on each line when you press <ENTER>):

Code:
#~ find . -iname desktop.ini | while read name
do
ls -l "$name"
done
- Are these files the one you want to remove? (a list of files will appear from that command) If yes, proceed to the next commando, who will actually remove them:

Code:
#~ find . -iname desktop.ini | while read name
do
rm -f "$name"
done
----------------------------------
And btw, if you want to cd to that directory, try that (<TAB> is the "TAB" button in xterm):

Code:
#~ cd /home/user/MyDocs/Downloads/Folder/Q/Mazd<TAB>
It will change to:

Code:
#~ cd /home/user/MyDocs/Downloads/Folder/Q/Mazda\ \(Mx5\)
Then you can press enter and you'll change to that directory.

BTW, if you even want to remove the entire directory tree, do that:

Code:
#~ rm -rf /home/user/MyDocs/Downloads/Folder/Q
It will remove everything starting from Q (and including it). BEWARE, THIS COMMAND IS DANGEROUS BECAUSE IT ERASES STUFF.
 

The Following User Says Thank You to Patola For This Useful Post:
Posts: 44 | Thanked: 38 times | Joined on Mar 2010 @ Germany
#13
"BusyBox" is the name of the program that you'll be running when you open a terminal. Basically it's a command line interface with several build-in commands. Most of these commands are stripped down versions of traditional UNIX commands such as "find". In order to keep the memory footprint small, they tend to have fewer options (e.g. "find" doesn't know the "-exec" option).
 

The Following User Says Thank You to BigLebowski For This Useful Post:
rokafellaskank's Avatar
Posts: 83 | Thanked: 4 times | Joined on Mar 2010 @ Birmingham England
#14
rm: cannot remove '/home/user/MyDocs/Downloads/Folder/Q/Mazda (Mx5)': Permission denied
rm: cannot remove '/home/user/MyDocs/Downloads/Folder/Q/Mazda (Mx5)': Directory not empty
rm: cannot remove '/home/user/MyDocs/Downloads/Folder/Q': Directory not empty

damn it, i thought it was gonna do it. the first command found the .ini files then the second & third were a long list of whats pasted above. stubborn little bleeders! any more suggestions would be very welcome.
 
Posts: 89 | Thanked: 21 times | Joined on Dec 2009
#15
Have you installed "rootsh" and run sudo gainroot?
Sounds weird that you can't delete em.
 

The Following User Says Thank You to Modell900 For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#16
Isn't the MyDocs folder on vfat partition on the internal memory card ?
No need to be root to delete something on a vfat partition.

Maybe the card is mounted read-only.

nicolai
 

The Following User Says Thank You to nicolai For This Useful Post:
rokafellaskank's Avatar
Posts: 83 | Thanked: 4 times | Joined on Mar 2010 @ Birmingham England
#17
Woo Hoo! I can't believe it, they're actually gone. Something as simple as 'sudo gainroot'! Thanks to all of you for your time and suggestions (ive hit all your thanks buttons).

But a big shout out goes to Patola & Modell900, couldn't of done it without you guys. Thank You.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:42.