Exclude deleted files on Android

Started by peho, January 05, 2023, 08:23:38 AM

Previous topic - Next topic

peho

I use an app on my Android Samsung S10 that can execute exiftool commands with my custom arguments.
My problem is that exiftool include deleted files with the prefix dot.

For instance, when renaming also deleted files will be renamed and then the dot disappear and the file is not deleted anymore.

Is there a built-in parameter that can be used to exlude the deleted files or do I need to use an -if statement?

Phil Harvey

Adding -i HIDDEN to the command will ignore hidden files (ie. ones with names starting with ".") when a directory name is specified on the command line.  HIDDEN must be all capitals.

There is a similar option to ignore directories which are symbolic links (-i SYMLINKS) if you ever need it.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).