Register / Login  |  Desktop view  |  Jump to bottom of page

Suggestions and Feedback » Regular expressions for files I want to omit from a layer?

Author: John C Beatty
8 years ago
For my purposes, having to manually and individually tell QRecall to exclude each file I don't want backed is cumbersome - ALL of the relevant files are large *.mov files generated by Motion 5 that are subsequently transcoded into the much smaller *.mp4, *.webm, *.ogv and *.flv movie files that are deployed.

No surprise - my immediate thought was "gee, it sure would be nice if I could just tell QRecall to ignore all files matching a regular expression." I realize there is a potentially expensive efficiency issue, but still... Or perhaps something simpler, like shell file matching expressions?

Just a thought...

Regards,
jcb

Author: James Bucanek
8 years ago
John,

You're not alone.

This has been on the to-do list for awhile, it's just a matter of coming up with a cogent UI and an efficient algorithm for performing the pattern matching during the capture process.

As a hack, it's sort of possible to do this now using the qrecall command line tool. You can use the tool to set the capture preferences for a file, and you can use the shell script to perform the pattern matching. Thus, it's possible to execute a script like this to manually mark all *.mov files your Document/Projects folder so that they are never captured:
find ~/Documents/Projects -iname '*.mov' -print0 | xargs -0 echo qrecall captureprefs exclude

Of course, this isn't dynamic. Every time you create new *.mov files you'd have to re-run this script to mark the new ones, but it's better than nothing.

I should also note that many modern applications will correctly mark intermediate files (rendering cache files and so on) using OS X's "do not back up" setting. If you set the archive's "Exclude items excluded by Time Machine" option, QRecall will honor those hints and automatically exclude those items.

Author: John C Beatty
8 years ago
Cool. Thanks for the quick response.




Register / Login  |  Desktop view  |  Jump to top of page