https://github.com/mcaimi/tmux-filmroll
TMUX plugin for photo enthusiasts
https://github.com/mcaimi/tmux-filmroll
Last synced: 3 months ago
JSON representation
TMUX plugin for photo enthusiasts
- Host: GitHub
- URL: https://github.com/mcaimi/tmux-filmroll
- Owner: mcaimi
- License: gpl-3.0
- Created: 2017-05-19T16:12:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T16:18:51.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T21:16:02.515Z (over 1 year ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **tmux-filmroll** #
This is a small integration plugin for TMUX that transfers photos from an external source (such as an SD Card from a DSLR) to a work path on your laptop,
in order to be further processed (with Darktable or similar software).
Photos are sorted by creation time, and saved in a directory tree in the destination folder with this structure:
DESTINATION PATH
\
YEAR
\
MONTH
\
DAY
\
Furthermore, JPEG and RAW files are kept apart from each other.
Photo creation times are read from the EXIF metatata headers if present, otherwise the last modification time from the stat() syscall is used as timestamp.
The plugin consists of:
1. a bash script bound to the 'f' key in tmux that fires up the plugin
2. a small Go program that sorts and transfers files.
## Configuration ##
Install the Go Media Importer CLI:
# go install github.com/mcaimi/cameraimport@latest
After installing the plugin you only need to set the source and destination path parameters in tmux.conf:
# filmroll source path (SD card mount point, Compact Flash, ecc..)
set -g @filmroll_source_path '/run/media/user/CANON/'
# filmroll destination path
set -g @filmroll_destination_path '/home/user/photoarchive/'
## Installation ##
To install the plugin, use tmux-plugins/tpm:
set -g @plugins 'mcaimi/tmux-filmroll'