View Single Post
Posts: 889 | Thanked: 537 times | Joined on Mar 2010 @ scotland
#19
i've added event logger and also memory card, and appended a / to the front of all the directories (thats right isn't it? damn i'm so noob i'm ready to slap myself!)

so draft 2 looks like:

Code:
sudo gainroot
rm -r -f /home/user/MyDocs/Private 
rm -r -f /home/user/MyDocs/.images/*
rm -r -f /home/user/MyDocs/.sounds/*
rm -r -f /home/user/MyDocs/.videos/*
rm -r -f /home/user/MyDocs/DCIM/*
rm -r -f /home/user/MyDocs/Downloads
rm -r -f /home/user/.bookmarks/*
rm -r -f /home/user/.cache/*
rm -r -f /home/user/.fmms/*
rm -r -f /home/user/.modest/cache/*
rm -r -f /home/user/.modest/images/*
rm -r -f /home/user/.modest/local-folders/*
rm -r -f /home/user/.modest/outboxes/*
rm -r -f /home/user/.skype/*
rm -r -f /home/user/.thumbnails/*
rm -r -f /home/user/.rtcom-eventlogger/*
rm -r -f /media/mmc1/*
yes? no? maybe? and if there is an empty/missing directory for any reason, such as missing mmc, will it ignore and carry on or halt with an error?

sorry for so many questions guys ur all being so helpful!
__________________
sarcasm may be the lowest form of wit, but its the only wit i have.

its a sad day when i can't slip at least one hitchhiker reference in somewhere.

Last edited by festivalnut; 2011-02-08 at 17:52.