sudo apt install libimage-exiftool-perl
Replace the file name with a directory name to modify all files in a directory. Use a dot .
for the current directory.
- Remember that extensions and filenames are case sensitive on Linux. Especially when using wildcards,
*.jpg
is not the same as*.JPG
. - ExifTool creates a copy of the original file, appending
_original
to the file name, as a backup. To avoid that and modify files directly, use the-overwrite_original
option. Format the copyright notice according to your country: Guide to photo metadata fields / Copyright Notice
exiftool "-Directory<DateTimeOriginal" -d "%Y/%Y-%m-%d" .
Mindre nøyaktig.
exiftool "-Directory<filemodifydate" -d "%Y/%Y-%m-%d" .
exiftool "file_name.extension"
exiftool -h . > example.html
Add or change creator/author information of the XMP Dublin Core standard schema:
exiftool -artist=me a.jpg
exiftool -XMP-dc:Creator="Creator" "file_name.extension"
exiftool -all= -overwrite_original "file name.extension"
- Exiftool: ExifTool Command-Line Examples
- libre-software.net: How to edit metadata via the command line with ExifTool
ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a libfdk_aac -b:a 192k -ac 2 out.mp4
ffmpeg -hide_banner -loglevel error
The option -hide_banner
was introduced in late 2013 -- https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2013-December/152349.html )
-loglevel warning
leads to more verbose output as it shows all warning messages
-loglevel panic
is the least verbose output (omitting even error messages) but is undocumented.