mirror of
https://github.com/DazAh/dotfiles
synced 2026-05-21 18:25:46 +01:00
modified: executable_dot_musicsync.sh.tmpl - progress bar
overall
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/sh
|
#!/usr/bin/sh
|
||||||
#Rsync Music from server to local HDD.
|
#Rsync Music from server to local HDD.
|
||||||
|
|
||||||
rsync -azhP --info=progress2 --stats "{{ .musicsyncpath }}" /mnt/HDD2/Music -s --delete
|
rsync -azhP --info=progress2 --no-inc-recursive --stats "{{ .musicsyncpath }}" /mnt/HDD2/Music -s --delete
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Sync Complete"
|
echo "Sync Complete"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user