I commute via :unicycle:, 🛴, "halfbike" or :penny_farthing: because they are great fun!
I also like minimalist tech […]
🌉 bridged from https://velocipederider.com/@ruari on the fediverse by https://fed.brid.gy/
And that is just tar. Just some little utility that few people […]
And that is just tar. Just some little utility that few people […]
find folder | tar c --no-recursion -T- --gzip > archive.tar.gz
find folder | tar fc […]
find folder | tar c --no-recursion -T- --gzip > archive.tar.gz
find folder | tar fc […]
Maybe, just maybe… tar provides too many ways to do things. 🤷
Maybe, just maybe… tar provides too many ways to do things. 🤷
https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135
https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135
https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135
Don't worry, I will not read them to you… probably. 😆
https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135
Don't worry, I will not read them to you… probably. 😆
P.S. I will bring the list… just in case. 🤪
P.S. I will bring the list… just in case. 🤪
No, but seriously we should meet for a coffee some time and I promise I will NOT read you the list. 😉
No, but seriously we should meet for a coffee some time and I promise I will NOT read you the list. 😉
https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135
https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135
P.S. Don't tell anyone but about 4 of them were wrong. I corrected them and replaced them with working versions 🤫
P.S. Don't tell anyone but about 4 of them were wrong. I corrected them and replaced them with working versions 🤫
https://velocipederider.com/@ruari/115641125011279224
Yes, yes… I should go to bed
#!/bin/bash
while IFS= read -r line; do
rm -f archive.tar.gz
echo "Executing: $line"
eval "$line"
ls
tar tvvf archive.tar.gz
echo ""
done < tar_gzip_commands.txt
https://velocipederider.com/@ruari/115641125011279224
Yes, yes… I should go to bed
#!/bin/bash
while IFS= read -r line; do
rm -f archive.tar.gz
echo "Executing: $line"
eval "$line"
ls
tar tvvf archive.tar.gz
echo ""
done < tar_gzip_commands.txt
Yes, yes… I should go to bed
#!/bin/bash
while IFS= read -r line; do
rm -f archive.tar.gz
echo "Executing: $line"
eval "$line"
ls
tar tvvf archive.tar.gz
echo ""
done < tar_gzip_commands.txt