Entries from 2014-01-01 to 1 year

Delete metadata of an image file by using ExifTool

Abstract Delete metadata of an image file by using ExifTool on Ubuntu 12.04. The following command is useful to sanitize images before uploading and downloaded images. Install ExifTool $ wget http://www.sno.phy.queensu.ca/~phil/exiftool/Im…

Normalize file names

Abstract Normalize file names on Ubuntu 12.04.The following script and command: Normalize unicode characters. E.g. image①.jpg -> image1.jpg. Make the extension of a basename lower case. E.g. image.JPG -> image.jpg Strip the root of a basen…

Delete suspicious directories and files by using the find command

Abstract Delete suspicious directories and files by using the find command on Ubuntu 12.04. The following commands are useful to sanitize files which have been downloaded from a suspicious site. Commands # Set a target directory. $ TARGET_…