[Digikam-users] command line tool to normalize exif orientation flag

John Stumbles john at stumbles.org.uk
Thu May 31 17:09:25 BST 2012


On 31/05/12 16:21, Elle Stone wrote:

> To be doubly safe, make a backup of your main image folders before
> using exiftool to change the orientation tag.

On a unix-ey filesystem with hard links doing
   cp -rl <pictures_filetree> <backup_place>
e.g.
   cp -rl /home/john/pix /home/john/pix.20120531-backup
makes an image of my main image folders in the backup location without 
using (much) extra disk space, since only the directory entries of the 
files are copied, not the files themselves.

It's not bulletproof: since the files are hard-linked any utility that 
changes the contents of the file in one location without breaking the 
link will change it in the other location as well.


-- 
John Stumbles                                    http://stumbles.org.uk
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:




More information about the Digikam-users mailing list