Skip to content

loganpkg/possum

Repository files navigation

possum

possum is a collection of utility shell scripts.

It includes the possum script which organises photos and videos based on the create date stored inside the media.

data_edit

data_edit is an easy way to edit Git data blobs.

Firstly, backup your repository using cpdup or rsync.

Set the target_branch in both scripts to the current branch that you are on and that you want to edit.

Run prepare_data.sh which will provide all of the data blobs. From here you can edit these files and can run git diff to review your changes.

Finally, run load_data.sh to add these files to the repository and to retrospectively patch the revisions on the target branch.

swap_license

A simple script to assist in changing the license of a software project.

wrap

The wrap script folds text while preserving the indent level.

mirror

The mirror script mirrors the source directory to the destination directory.

fix_perms

fix_perms recursively corrects file permissions.

bkup

bkup creates incremental backups using cpdup with hard links. You can schedule it using cron by typing crontab -e and editing the configuration. The example below runs the backup every 5 minutes.

PATH=/home/logan/bin:/usr/bin:$PATH

*/5 * * * * bkup /path/to/source_dir /path/to/store_dir >> /path/to/log_file 2>&1

You can type crontab -l to view your configuration.

Enjoy, Logan =)_

About

Organises photos and videos based on the create date stored inside the media

Resources

License

Stars

Watchers

Forks

Contributors

Languages