phockup icon indicating copy to clipboard operation
phockup copied to clipboard

ability to link all files in a single dir and specify multiple --d as destination with --link

Open eoli3n opened this issue 1 year ago • 0 comments

I want to sort my pictures as phockup/YYYY/MM, but I would also like to get a phockup/all directory. It would be great to :

  • improve -d to be able to add strings, and specify date part in gnu-date format like -d +%Y/%m for YYYY/MM, or simply -d all
  • be able to specify mutliple -d with --link
# from
$ phockup  ~/img/photos ~/img/phockup/year-month -d YYYY/MM --link --progress --original-names
$ cd ~/img/phockup
$ find year-month/ -type f -exec ln {} all \;

# to
$ phockup  ~/img/photos ~/img/phockup -d "+year-month/%Y/%m" -d "all" --link --progress --original-names

eoli3n avatar Oct 01 '22 20:10 eoli3n