Is any way to do the subj ?
“ditto - c” works fine only with single item (file/folder)
other archivers do not create zip file
Any idea?
Is any way to do the subj ?
“ditto - c” works fine only with single item (file/folder)
other archivers do not create zip file
Any idea?
Hi,
something like this?
tell application "Finder" to set theFolders to selection
repeat with oneFolder in theFolders
if (folder of (info for oneFolder as alias)) then
tell (POSIX path of (oneFolder as alias)) to set {|source|, destination} to {it, it's text 1 thru -2 & ".zip"}
do shell script ("/usr/bin/ditto -c -k " & quoted form of |source| & " " & quoted form of destination)
end if
end repeat
Well, but script create as much archives as much folders selected
However I need to get single archive which incorporate the selected folders
Anymore ideas?
sorry, I read single zip-archives.
An option is to copy the folders into a temporary folder, create the archive and delete the temporary folder
Thanx!
Good idea!