aoepeople/backup-minify

There is no license information available for the latest version (1.2.2) of this package.

Small tool for minifying backup assets

1.2.2 2020-10-22 12:49 UTC

This package is auto-updated.

Last update: 2024-10-23 13:07:49 UTC


README

This small PHP Tool allows you to minify backups, by scaling all images down and replacing PDFs with small dummy files.

This can be useful if you want to setup development or staging environment and dont want to waste time and space to deal with all the big assets.

Usage:

    php Bin/minfiy.php --source=/assetbackup/production --target=/assetbackup/minified_production

Optional Parameters:

   --imageConverter=GraphicsMagick  By default ImageMagick is used
   --skipExistingFiles=0	        By default existing files are not copied to target anymore.
   --quietMode=1			        No output of log infos.

Todo:

  • Replace Videos as well