Hi
First I thing that having spaces in filenames is like wearing a tee shirt
saying hit me!.
I'm trying to backup all my wife's pictures and although I can do any one file
on CLI doing a script is humbling me. If anyone can help I'd be grateful.
Thanks
#!/bin/bash
Random tips:
- You can use find in one command, rather then loop over the file extensions
find . -type f ! -name '*thumb*' \( -iname '*.tif' -o -iname '*.jpg'
-o -iname '*.jpeg' -o -name '*.orf' -o -name '*.nef' \)
- Might be a good idea to set IFS to '\0', combined with find's
-print0 argument,