for f in *.jpg; do convert -quality 70 $f $f; done
Version context
This procedure describes the software and the environment available at the time of its publication. The packages, interfaces, and repositories mentioned may have changed or disappeared; f...
TBWritten byThomas Bourdin1 min read
for f in *.jpg; do convert -quality 70 $f $f; done
Version context
This procedure describes the software and the environment available at the time of its publication. The packages, interfaces, and repositories mentioned may have changed or disappeared; first check the system version and its support level.
cat /etc/os-release
uname -r
Work on a backup or a snapshot, note every modified file, and prepare for rollback. For a current workstation or server, prefer signed packages from officially supported repositories.