This works great. On 9/10/08 3:38 PM, "Brian Yennie" <[EMAIL PROTECTED]> wrote:
> Stephen, > > I would really consider using the "tar" command through shell(). It's > purpose in life is primarily to archive directories, and it can zip > things up automatically. Here is a very basic guide: > > http://www.cpqlinux.com/tar.html > > With tar, this is a shell() one-liner. Just treat the app like an > ordinary directory. > Thanks for the tip on using tar to compress nested folders. I did the following on Mac OSX 10.5.4 = 3 folders containing two files with the same name --nestedFolder ------folder01 ----------index.php ------folder02 ----------index.php tar -c -z -f nestedFolerTest.tar.gz folderTarget --> created " nestedFolerTest.tar.gz" I moved the gz file to another folder, then double clicked to decompress, and everything worked perfectly. Further, using control-click (or right-click) and choosing 'open with console' displays the contents of the archive + has a filter input box to show only the lines you want to see 'open with stufit expander' just as you would expect a) one file ( nestedFolerTest.tar no gz), b) then the folder ' nestedFolerTest' as the original Hope this helps someone Jim Ault Las Vegas _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
