I wrote about it before, but here it is again: #!/bin/bashįind ~/Dropbox/calibre/ -iname "*.epub" -print0 | xargs -0 -I file cp -n file ~/Dropbox/epubs/ To get around Hazel’s unreliability for ePub files, I wrote a one-line shell script, epubs-update, that uses find and xargs to do the copying. Setting up new rules for these subfolders as I create them would be more work than just tagging the files by hand. At any given time, there are dozens of these subfolders, and new subfolders are made regularly as I work on new projects. Unfortunately, I can’t get around this problem by setting up the tagging rules to apply to specific subfolders. While this is Noodlesoft’s standard guidance for processing subfolders, it seems more than coincidental that the only rules that fail are those that rely on this subfolder rule. The reliability problem, I think, lies in the latter rule. Each tagging rule, for example, is really two rules, one that does the tagging,Īnd another that tells Hazel to run the tagging rule on all subfolders of my ~/projects folder, They don’t run on files in a particular folder, they run on files that are in some subfolder of a particular folder. It’s the latter two rules that are unreliable, and I’m pretty sure I understand why. To add color tags to files with certain extensions so I can distinguish them in Files, which refuses to show file extensions except in the Show Info popup.To copy ePub files that I make in Calibre to another folder so I can sync them with Marvin, the ereader I use.ics files saved to my Downloads folder and has never failed me. ics files I get from SWA to include alarms that remind me to check in 24 hours before flights. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |