TritonDataCenter / node-manta-sync

Rsync style command for Joyent's Manta
31 stars 9 forks source link

--exclude #11

Closed bahamas10 closed 10 years ago

bahamas10 commented 10 years ago

summary

add --exclude with extremely basic globbing support. you can do things like

// exclude txt files
--exclude '*.txt'

// exclude `.git` directory
--exclude './.git/' (same as) --exclude '/.git' (same as) --exclude '.git/'

// exclude single files
--exclude index.html --exclude foo/bar/index.html