Skip to content

Commit

Permalink
sync changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhacommas committed May 20, 2023
1 parent 68aaf14 commit e8c0f42
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion BackupDir.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Documents
Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Images
DCIM
Documents
Download
Music
MT2
BoxIt
Pictures
Recordings
Expand Down
2 changes: 1 addition & 1 deletion rsync-android
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ OPT="-avh --progress --delete --delete-excluded --exclude-from=$EXCLUDES"


while IFS= read -r file; do
rsync $OPT $file $DESTINATIONDIR/
rsync $OPT "$file" $DESTINATIONDIR
done < "/media/dhacommas/BoxIt/rsync/BackupDir.txt"

#------------------------------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions rsync_excludes.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
Download/1DMP/Videos
Download/1DMP/.adblocker_1dm
Download/1DMP/.hidden
Download/1DMP/Torrents
Music/.thumbnails
Pictures/.thumbnails

0 comments on commit e8c0f42

Please sign in to comment.