[futurebasic] Re: [FB] Command line from FB to archive a file

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2006 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Fri, 17 Nov 2006 20:43:00 -0500
Steve asked:

>next ?  how about zippin' a folder :)


Sure:


1. Create a new folder on the Desktop called "test_folder" with a 
small text file inside:

mkdir ~/Desktop/test_folder/; echo "Test file" > ~/Desktop/test_folder/text.txt


2. Zip "test_folder" onto the Desktop as test_folder.zip:

ditto -c -k -X --rsrc --keepParent ~/Desktop/test_folder/ 
~/Desktop/test_folder.zip



Ken