1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-04-20 01:30:01 -05:00

Compare commits

..

No commits in common. "6212ece49d3cc585b82cdb2d074fb378c412ff80" and "f4c3512f4d25879e9551b22bbe82701825a8661c" have entirely different histories.

3 changed files with 7 additions and 7 deletions

View file

@ -66,7 +66,7 @@ echo $'\n'$(date) "| Done!" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo $(date) "| Pulling pkglists_server from server..." | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo $(date) "| Pulling pkglists_server from server..." | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$BKDIR_HDD/Documents/Backup/pkglists/server/" "$HMDIR/Documents/Backup/pkglists/server/" | tee -a "$LGDIR/TempStorage/impfilesbk.log" rsync -aAXH --delete --stats "$BKDIR_HDD/Documents/Backup/pkglists_server/" "$HMDIR/Documents/Backup/pkglists_server/" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo $'\n'$(date) "| Done!" | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo $'\n'$(date) "| Done!" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log"

View file

@ -9,7 +9,7 @@ if [ "$(id -u)" -eq 0 ]; then
fi fi
# define location for output # define location for output
DIR=/home/sintan/Documents/Backup/pkglists/laptop DIR=/home/sintan/Documents/Backup/pkglists
# make sure that the folder exists # make sure that the folder exists
mkdir -p $DIR mkdir -p $DIR
@ -21,6 +21,6 @@ command -v dnf &> /dev/null && dnf list installed > $DIR/dnf
# list and save pip packages # list and save pip packages
command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip
# list and save uv packages # list and save pipx packages
command -v uv &> /dev/null && uv tool list | grep -vE '^-.*' | awk '{print $1}' > $DIR/uv command -v pipx &> /dev/null && pipx list | grep package | awk '{print $2}' > $DIR/pipx

View file

@ -11,7 +11,7 @@ if [ "$(id -u)" -eq 0 ]; then
fi fi
# define location for output # define location for output
DIR=/mnt/storage/Documents/Backup/pkglists/server DIR=/mnt/storage/Documents/Backup/pkglists_server
# make sure that the folder exists # make sure that the folder exists
mkdir -p $DIR mkdir -p $DIR
@ -23,6 +23,6 @@ command -v dnf &> /dev/null && dnf list installed | awk '{print $1}' | tail -n +
# list and save pip packages # list and save pip packages
command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip
# list and save uv packages # list and save pipx packages
command -v uv &> /dev/null && uv tool list | grep -vE '^-.*' | awk '{print $1}' > $DIR/uv command -v pipx &> /dev/null && pipx list | grep package | awk '{print $2}' > $DIR/pipx