Skip to content

Instantly share code, notes, and snippets.

@CarterMcClellan
CarterMcClellan / Proposal_mc_find.md
Last active July 31, 2017 21:51 — forked from donatello/Proposal_mc_find.md
Adding pattern matching to `mc`

Upon Further Input and Contemplation Original

mc find PATH [ACTION [print|exec ARGS...]]
  • PATH is either a file-path or a remote storage alias-path like myminio/mybucket
    • ACTION
    • --mcexec now named exec As suggested in the original proposal
    • --time now changed to --newer and --older Will take only positive values newer will be inclusive, older will be exclusive. Will accept the suffixes dy, wk, mh, or yr which will all be put in terms of days