3 ms·
goodtar: #!/bin/bash find $3 type -f | rev | sort | rev | tar -cv $2 -T /dev/stdin -f $1 Now put `goodtar` in `/usr/bin`. Whenever you want to compre
by capitalsigma 11y ago
goodtar:
#!/bin/bash
find $3 type -f | rev | sort | rev | tar -cv $2 -T /dev/stdin -f $1
Now put `goodtar` in `/usr/bin`. Whenever you want to compress stuff, just say:
goodtar -j output.tar mydir
What's making you tired?
- baruch 11y agoI just created a quick hack which is essentially at this level but I would try to improve upon it, it can be found at: https://github.com/baruch/sortedtar https://github.com/baruch/sortedtar