4censord, 1 month ago @aral can node tar not create an archive in multiple steps? with normal tar, i'd just create an archive and add the first files, and then just append the other files to the archive with a tar command with different working directory Direktory like: . ├── file1.txt ├── file2.txt └── folder └── file3.txt Commands: tar cf archive.tar file{1,2}.txt tar rf archive.tar -C folder file3.txt Creates an archive like: $ tar tf archive.tar file1.txt file2.txt file3.txt
@aral can node tar not create an archive in multiple steps? with normal tar, i'd just create an archive and add the first files, and then just append the other files to the archive with a tar command with different working directory
Direktory like:
. ├── file1.txt ├── file2.txt └── folder └── file3.txt
Commands: tar cf archive.tar file{1,2}.txt tar rf archive.tar -C folder file3.txt
Creates an archive like: $ tar tf archive.tar file1.txt file2.txt file3.txt