Skip to content

A shell script to compress large amount of JPG and same name file into separate ZIP files. Useful for photo stock contributors.

License

Notifications You must be signed in to change notification settings

kersh/zip-same-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZIP Same Files

This is very basic shell script to compress large amount of JPG files and their pairs with different extension into separate ZIP files. Useful for photo stock contributors.

What does this script do?

This script will take all JPG files and find each JPG file pair and then create a ZIP file with the JPG filename. In other words, you have: file1.jpg, file1.eps, file2.jpg, file2.eps and after running this script you will get: file1.zip, file2.zip.

Check a screenshot below to see what I mean

How to use it?

For macOS users

You can use it via right click -> Services -> ZIP Same Files. Script work if you click on folder or select needed files.

How To Use On the macOS

For other Unix systems

  • Download shell script.
  • Put .sh file into a folder with your files.
  • Open terminal and navigate to the folder with a script and your files.
  • Run shell script via this command: ./zip-same-files.sh

How to install it?

About

A shell script to compress large amount of JPG and same name file into separate ZIP files. Useful for photo stock contributors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages