4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 1875
/ 3 Years ago, mon, may 24, 2021, 6:24:55
I am fairly new using tar having used zip files in the past.
I want to just create the tar file without the directories being included.
I went here, but found it a bit confusing.
https://www.baeldung.com/linux/tar-archive-without-directory-structure
# Backup crontab
crontab -l > /home/andy/bin/crontab_backup.txt
tar -cvf /home/andy/bin/crontab_backup.tar /home/andy/bin/crontab_backup.txt
More From » 20.04