The zip command usually places the output zip file in the current directory. But, I am wondering if there is an option that I miss on the manual page that allows me to specify the destination directory for the output archive file.
This created "my_archive" in the current directory:
zip -rT my_archive dir_to_be_archived
But I want to place "my_archive" under. / my _backups without having "cd" in this backup directory. There is something like:
zip -rt my_archive dir_to_be_archived --destination ./my_backups
Vijay ratnagiri
source share