I have some directories, I want to pack into a tgz archive:
/home/stofl/myproject/migrations/ /home/stofl/myproject/source/ /path/to/my/migration/tool/source/
The archive should have the following structure:
migrations/ source/ my_migration_tool/
Do I have to copy the migration tool into
/home/stofl/myproject/ (or create a symlink) or is there another way?
The archive could be compressed with
gzip later. So maybe there is a way to append the directory to the
tar archive with
--append, but I didn't find a way to tell
tar to use a different name.