Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to backup the files first' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to backup the files first
Authored by: Super-K on Apr 06, '01 11:07:56PM
I didn't feel good about just wasting the files so I made a backup of them all before removing.
find / ! -name 'English.lproj' -name '*.lproj' -type d -exec echo {} ; > nelprojlist.txt
I couldn't get -print to work with find, so I used the echo trick... That should give you a file "nelprojlist.txt" that has all the non-english lproj directories. Now we want to tar them all up:
gnutar -c -v -z -f nonenglish_lproj.tgz -T nelprojlist.txt
The resulting file is about 80MB. You might notice the @LongLink files showing up in your archive. Those are to hold filenames that are longer than 100 characters which were tar's limit back in the old days. :)

[ Reply to This | # ]
hmmm... or
Authored by: Super-K on Apr 06, '01 11:15:52PM

Of course you could just copy the files back from your MacOS X CD if you need them again... :)



[ Reply to This | # ]