[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: Steve <mactech@...>
Date: Fri, 17 Nov 2006 20:52:15 -0500
Ken,

thanks much...  for your time, knowledge and help.

~ steve

On Nov 17, 2006, at 8:43 PM, Ken Shmidheiser wrote:

>
> 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
>