#!/bin/bash # /usr/local/bin/syncgalleries2microsd # https://crystalfaeries.net/posix/bin/syncgalleries2microsd # celeste:crystalfaery SYNCGALLERIES2MICROSD 2017-08-24 16:34:32+00:00 # synchronize fey's galleries to mobile microsd's Pictures cd /home/galleries for d in * do rsync -auvzH --exclude-from=.exclude $d/{landscape,portrait} /media/celeste/822380c3-f880-445b-801c-34bc0374e71b/Pictures/$d done