Re: copying folders, subfolders and files...
- From: justaguy <donli@xxxxxxxxx>
- Date: Sat, 10 Dec 2011 13:55:34 -0800 (PST)
On Dec 10, 4:47 pm, Michael Vilain <vil...@xxxxxxxxxxxxx> wrote:
In article
<3810a44b-b686-4ad1-9e65-488664e78...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
justaguy <do...@xxxxxxxxx> wrote:
On Dec 10, 1:55 pm, Only Nixon could go to China Blue
<chine.b...@xxxxxxxxx> wrote:
In article
<ddfaeb2d-5e9b-472c-b890-708c716e2...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
justaguy <do...@xxxxxxxxx> wrote:
Upon unzipping of a compressed file with zip extension, the following
script is intended to copy all the folders, respective sufolders and
files, and hopefully file attributes to the target folder of /Library/
Railo
I've looked at the ditto command, the X option is for copy directory
(folder) and subdirectories (subfolders) and the k for zip file.
Would it do the job or am I still "sloppy"? Thanks in advance.
#!/bin/sh
cd /Library
mkdir Railo
# copy folders, subfolders and files
uudecode <<'::eof::' -p | ditto -X -k
If you're not sure, try out small cases in Terminal. You can create a small
zip
archive and then just try something like
cat test.zip | ditto -x -k - /tmp
and see if it ends up in /tmp.
--
My name Indigo Montoya. | Ha, ha, that is very logical.
You flamed my father. | I'm whoever you want me to be.
Prepare to be spanked. | Annoying Usenet one post at a time.
Stop posting that! | At least I can stay in character.
I need to add, I do not have a Mac at my disposal. Not sure if anyone
is willing to give a spin with the above using a sample zip file that
resembles my app...
http://www.knowledgenotebook.com/test/ditto_test.zip
Where do we send the bill for testing and consulting services?
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
On tab :) Ever drink in a pub?
.
- References:
- copying folders, subfolders and files...
- From: justaguy
- Re: copying folders, subfolders and files...
- From: justaguy
- copying folders, subfolders and files...
- Prev by Date: Re: Mac OS X and Java
- Next by Date: Re: copying folders, subfolders and files...
- Previous by thread: Re: copying folders, subfolders and files...
- Next by thread: Re: copying folders, subfolders and files...
- Index(es):
Relevant Pages
|