
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Move photos and videos into a directory tree sorted by date taken.
Optionally keep the original files in the source directory (copy instead of move). Either keep all of them or only up to a certain age (as defined by a configurable number of days). This is a useful feature if the source directory is synced with a mobile phone or similar device with limited storage.
../DEST/
ā
āāā 2022/
ā āāā 08/
ā ā āāā 23/
ā ā ā āāā IMG_20220823_154532.jpg
ā āāā 09/
ā ā āāā 03/
ā ā ā āāā Screenshot-1.png
ā ā ā āāā VID_2022-08-24_08:34:56.mp4
ā ā āāā 04/
ā ā ā āāā Matrix.mov
āāā 2023/
ā āāā 01/
The program will recursively traverse the source directory and sort all image files found based on their metadata. If no date is found, the program will try to parse the date from the filename. Failing that, the file's st-mtime
will be used.
Original metadata and filenames are preserved. When an image with the same filename already exists at the destination path, the program will skip the file and continue processing with the next file.
imagemv
Usage:
imagemv.py SOURCE DEST [--keep=<days>] [--dry-run]
imagemv.py SOURCE DEST [--keep-all] [--dry-run]
imagemv.py (-h | --help)
imagemv.py (-v | --version)
Options:
-h --help Show this screen.
-v --version Show version.
--verbose Print more information about progress.
--keep=<days> Keep original files which are newer than the specified age in <days> [default: 0].
--keep-all Keep all original files.
--dry-run Simulation mode (no changes will be written to the filesystem).
imagemv --dry-run --keep=365 ~/phone-sync/DCIM/Camera ~/Images
FAQs
Move photos and videos into a directory tree structure sorted by date taken
We found that imagemv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.