Sample Header Ad - 728x90

Error while making automator service to archive files with tar

1 vote
1 answer
110 views
I wrote an automator service to be create tar archives using the tar command, due to this format being more efficient than the .zip that the "Compress" option in the finder menu gives me. However on running the service it just gives me this error, regardless of the type of file used: tar: file.txt: Cannot stat: Bad file descriptor This is the source of the service: Automator script (Using a slightly modified version of [https://stackoverflow.com/questions/35138806/automator-action-shell-script-to-tar-multiple-files-folders-containing-spaces](https://stackoverflow.com/questions/35138806/automator-action-shell-script-to-tar-multiple-files-folders-containing-spaces))
Asked by EvilSquirrelGuy (163 rep)
Jun 10, 2022, 06:51 PM
Last activity: Jan 20, 2023, 01:03 AM