Last active
January 3, 2022 21:19
-
-
Save jadsongmatos/33ef7bf7679775df597a97c558fad449 to your computer and use it in GitHub Desktop.
backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################################### | |
# | |
# Backup TAR script. | |
# | |
#################################### | |
find /home/jadson/Área\ de\ trabalho/ -type f | grep -v -E '*node_modules*|*App/chromium*' > /tmp/archiveFileList.txt && tar -I 'zstd --ultra -22 -T1' -cvf /home/jadson/Público/1-bkp.tar.zst -T /tmp/archiveFileList.txt && mv /tmp/archiveFileList.txt /home/jadson/Público/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment