On Tue, 2018-01-30 at 20:53 +1100, Cameron Simpson wrote: > On 29Jan2018 12:35, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote: > > On Mon, 2018-01-29 at 12:27 +0000, Patrick O'Callaghan wrote: > > > Looking for some advice here. I have a large set of old slides > > > (transparencies) which I'm currently scanning for the family, but of > > > course many of them are out of order. Clearly they don't have EXIF > > > information (they were taken in the 70s and 80s). I'm looking for a way > > > to order them *visually* after scanning, but the usual apps (Digikam, > > > Shotwell, Lightroom) don't seem to be able to do this. They only > > > understand machine-readable sorting, e.g. by the file mod date, size, > > > exposure data etc., none of which is useful in this case. > > > > To be clear: my target is to be able to open a set of files, then drag > > and drop thumbnails into the right order, then generate new filenames > > for them with an index number for further batch processing. > > How about a low tech approach? Open your favourite GUI directory browser > capable of showing thumbnails. Open it on your directories of unsorted images. > Make another directory "staging" and "ordered" somewhere. > > Run a small shell script like this (untested, but happy to help debug): > > cd your-staging-directory > n=1 > while : > do > for f in *.jpg > do > [ -s "$f" ] || continue > while : > do > target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" ) > [ -e "$target" ] || break > n=$((n+1)) > done > mv "$f" "$target" > done > sleep 1 > done > > That does a "mv", so give it a good test on copies first to avoid it eating > your files! > > Then just drag images into the staging directory in the right order and the > shell script will move them into the ordered directory with nice numeric > prefixes. > > You might want to presage this with a manual presort of groups of images into > obvious collections (family, events, what have you), then to drag those into > the staging directory in the desired order. This is much more on the lines of what I'm thinking of (and I'd even started to imagine how to do it :-) so thanks for the effort. I'll certainly look into it. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx