Skip to content

Instantly share code, notes, and snippets.

@rohitfarmer
Created August 31, 2022 15:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Audio video file manipulation and editing in Linux

To Remove EXIF Information from an Image

Software required

sudo apt-get install libimage-exiftool-perl

View EXIF information

exiftool image.jpeg

Remove all EXIF information from a single file

exiftool -all= image.jpeg

Bulk remove EXIF information (these commands will also create a copy of images with _original extension.

exiftool -all= *
exiftool -all= *.JPG

To Remove Meta Data from a Video

Exiftool can also be used to fetch and view metadata from a video

Software required

sudo apt-get install ffmpeg libimage-exiftool-perl

Copy original file to another file with the data stripped out

ffmpeg -i test.mov -map_metadata -1 -vcodec copy -acodec copy test-nometadata.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment