Skip to content

"phar" (Photo Archiving Script) is a Linux shell tool for organizing and preserving photos with filenames matching IMG_????.JPG. It identifies duplicate files, logs them for review, and archives only unique photos, providing a simple and efficient solution for managing your photo collection.

License

Notifications You must be signed in to change notification settings

AndresCdo/PhotoArchiver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phar Photo Archiving Script

The "phar" script is a Bash script designed to help you organize and archive your photos by finding and copying files that match a specific naming convention. This can be useful if you have a large collection of photos and want to quickly find and organize them.

Installation

To use the "phar" script, simply download the script file to your computer and make sure it has executable permissions. You can do this by running the following command in your terminal:

chmod +x phar.sh

Usage

To use the "phar" script, simply run the script in your terminal and provide the source and destination directories as arguments. For example:

./phar.sh /path/to/source/directory /path/to/destination/directory

The script will search for files in the source directory that match the naming convention "IMG_XXXX.JPG", where "XXXX" is a four-digit number. It will then copy these files to the destination directory, renaming them if necessary to avoid duplicates.

Examples

Here are some examples of how to use the "phar" script:

./phar.sh ~/Pictures /mnt/external/photos

This will search for files in the "~/Pictures" directory that match the naming convention "IMG_XXXX.JPG" and copy them to the "/mnt/external/photos" directory.

Contributing

If you would like to contribute to the "phar" script, please feel free to submit a pull request or open an issue on GitHub.

License

The "phar" script is released under the MIT License. See the LICENSE file for more information.

Credits

The "phar" script was created by Toran Bruce Richards.

About

"phar" (Photo Archiving Script) is a Linux shell tool for organizing and preserving photos with filenames matching IMG_????.JPG. It identifies duplicate files, logs them for review, and archives only unique photos, providing a simple and efficient solution for managing your photo collection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%