Last active
February 20, 2021 01:19
-
-
Save erenseymen/c6f02d9e631a0502e2e6ba1621f42aaf to your computer and use it in GitHub Desktop.
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 | |
rsync -a --del --relative /etc/apt .other-backups | |
rsync -a --del --relative /etc/environment .other-backups | |
rsync -a --del --relative /etc/fstab .other-backups | |
rsync -a --del --relative /etc/sysctl.conf .other-backups | |
sudo rsync -a --del --relative /root/.config/bleachbit/bleachbit.ini .other-backups | |
sudo rsync -a --del --relative /root/.synaptic/synaptic.conf .other-backups | |
sudo chown -R $USER:$USER .other-backups/root | |
apt-mark showmanual > /tmp/foo | |
rsync -a --checksum /tmp/foo .other-backups/apt-manual.txt | |
apt-mark showauto > /tmp/foo | |
rsync -a --checksum /tmp/foo .other-backups/apt-auto.txt | |
dconf dump / > /tmp/foo | |
rsync -a --checksum /tmp/foo .other-backups/dconf.txt | |
# dconf load / < dconf.txt | |
copyq tab favorite exporttab /tmp/foo | |
rsync -a --checksum /tmp/foo .other-backups/copyq-favorite.txt | |
# copyq tab favorite importtab copyq-favorite.txt | |
xfce4-panel-profiles save .other-backups/xfce-panel-profile | |
# xfce4-panel-profiles load .other-backups/xfce-panel-profile | |
/usr/share/code/code --no-sandbox --unity-launch .gitignore | |
# sudo chmod -x '/etc/cron.daily/mlocate' | |
# sudo cp -r .config/geany /root/.config/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment