Lychee
Lychee copied to clipboard
[Enhancement] Command line sync/import file list or search parameters
Command line sync/import:
Would be nice to be able to sync only part of a folder, either give search parameters directly to lychee command or cli tool to accept file list (instead of folder).
For example files that have mtime newer than today -1. That would make it much faster for huge folders (that gets new files randomly for example from phone sync). Tried to create a shellscript to do this but as the current sync accepts only a folder.
jupet@LS220DEAA3:/storage/Lychee$ php artisan lychee:sync $(find /storage/NAS/valokuvat/ -type f -mtime -1) --import_via_symlink=1 --skip_duplicates=1
Start syncing.
/storage/NAS/valokuvat/IMG_20220226_223928.jpg: Given path is not a directory
Done syncing.
I guess even if we just allowed a single file it would help.