Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (7 sloc) 225 Bytes
#!/bin/sh
function helptext {
echo "Usage: backup_config.sh OUTPUT_TAR_GZ"
}
[[ $# -gt 0 ]] || { helptext; exit 1; }
# backup modified configuration files
pacman -Qii | awk '/^MODIFIED/ {print $2}' | tar -n -cvzf $1 -T -
You can’t perform that action at this time.