Nice!


On 2017-04-17 01:40, Romano Giannetti wrote:
My strategy is to backup all .xmp files before starting a session and sometime in the middle. In my collection which is now around 100G the compressed file with all .xmp is less than half megabyte. I use this script:

#! /bin/bash
#
# create a copy of all xmp source files in my dirs
#
out_file_name=allxmp-$(date +"%Y-%m-%d_%H-%M")
cd ~
rm -rf tmp/$i{out_file_name}.lst
find . ./Pictures/ -iname "*.xmp"  > tmp/${out_file_name}.lst
tar cz -T tmp/${out_file_name}.lst  -f management/safebackups/${out_file_name}.tar.gz
echo DONE, file is ${out_file_name}.tar.gz
ls -l management/safebackups/${out_file_name}.tar.gz

...hope this helps.


____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]

Reply via email to