I need to backup files (usually images) before editing (and overwrite) them.
Currently I do it by:
cp file.jpg ~/BACKUP/file.jpg
exiv2 BLABLABLA file.jpg
How can I do it with a single command?
e.g.
AAalias file.jpg
where AAalias
is an alias or a function, doesn't matter but this is the shape I'm looking for: command + filename