OwnCloud Camera Import Sort Script
| |
Description
This Bash script automatically sorts camera uploads from OwnCloud into a year/month directory structure. Files are organized based on their modification date and prefixed with a timestamp in the filename.
How it works
- Searches the
Camera-Importdirectory for all files - Extracts the year and month based on each file’s modification date
- Creates target directories (
Year/Month) if they don’t exist - Moves files to the appropriate folders with a
YYYYMMDD_prefix
Usage
Simply run the script to organize all camera imports into a chronological folder structure.