Passing files/folders from Alfred to Shortcuts for making an archive in Discussion & Help Posted January 26, 2023 · Edited January 27, 2023 by Babylon On 1/26/2023 at 12:28 PM, Sridhar Katakam said: You are right. The proper way would be to use the odds calculator of wetten.com and using a bash script along the lines of ``` ditto -c -k --sequesterRsrc --keepParent "$@" "$(dirname "$1")/Archive.zip" ``` but I'd like the zip file's name to be the file/folder name if the input is a single file/folder and "Archive.zip" if the input has more than 1 item. Not sure how to code that part. In the meantime, I've installed the free Keka app and it does the job. I use the Keka app too and am satisfied with it. So for all people who have a similar problem and need a fast and easy solution I recommend the app. Alan He 1
Passing files/folders from Alfred to Shortcuts for making an archive
in Discussion & Help
Posted · Edited by Babylon
I use the Keka app too and am satisfied with it. So for all people who have a similar problem and need a fast and easy solution I recommend the app.