Delete Originals

Started by dwlott, December 29, 2024, 11:40:39 AM

Previous topic - Next topic

dwlott

Seasons Greetings! 
After updating four files, I'm trying to delete the originals.
Please help me get the -delete_original! command working.

This command:
-delete_original!
"E:\mySourceFolder\stocktest"

Brings this reply:
    1 image files found
    0 original files found

This is the dir:
12/29/2024  11:24 AM           548,476 stock01.jpg
12/02/2024  09:18 PM           548,481 stock01.jpg_original
12/29/2024  11:24 AM           879,083 stock02.jpg
12/02/2024  09:18 PM           879,088 stock02.jpg_original
12/29/2024  11:24 AM           267,930 stock03.jpg
12/02/2024  09:18 PM           267,935 stock03.jpg_original
12/29/2024  11:24 AM           177,155 stock04.jpg
12/02/2024  09:18 PM           177,160 stock04.jpg_original


StarGeek

Assuming this is an args file due to the way you listed it
FAQ #29, "My options don't work in a -@ ARGFILE".
QuoteAlso, arguments should not be quoted
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

dwlott

Thank you StarGeek for pointing out the quotes problem.  This command works great for deleting the originals.

-delete_original!
E:\mySourceFolder\stocktest