|
Post by ZF on Jan 12, 2016 3:19:54 GMT -5
:: Name: strip-metadata.bat :: Purpose: Strips metadata from files before sending over to customers :: Author: ZF ::: ::: _ _,---._ ::: ,-',' `-.___ ::: /-;' `._ ::: /\/ ._ _,'o \ ::: ( /\ _,--'\,','"`. ) ::: |\ ,'o \' //\ ::: | \ / ,--'""`-. ::: : \_ _/ ,-' `-._ ::: \ `--' / ) ::: `. \`._ ,' ________,',' ::: .--` ,' ,--` __\___,;' ::: \`.,-- ,' ,`_)--' /`.,' ::: \( ; | | ) (`-/ ::: `--'| |) |-/ ::: | | | | | ::: | | |,.,-. | |_ ::: | `./ / )---` ) ::: _| / ,', ,-' ::: ,'|_( /-<._,' |--, ::: | `--'---. \/ \ ::: | / \ /\ \ ::: ,-^---._ | \ / \ \ ::: ,-' \----' \/ \--`. ::: / \ \ \ ::: @echo OFF IF [%1]==[] ( ECHO Input file missing. ECHO E.g ECHO strip-metadata.bat FILENAME GOTO EXIT ) ECHO === METADATA FOR %1 === exiftool.exe %1 ECHO === Stripping METADATA... ... === exiftool.exe -all= %1 ECHO === METADATA FOR %1 === for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A exiftool.exe %1 :EXIT strip-metadata.bat (1.47 KB)
|
|