This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
megacmd [2020/02/25 19:05] ian created |
megacmd [2020/02/25 19:40] (current) ian |
||
---|---|---|---|
Line 3: | Line 3: | ||
MEGA provides up to 50 GB of free, fully-encrypted cloud storage | MEGA provides up to 50 GB of free, fully-encrypted cloud storage | ||
- | They also provide a number of CLI tools that allow you to connect and manage your cloud storage from the command-line. | + | They also provide a number of CLI tools that allow you to connect and manage your cloud storage from the command-line. |
'' | '' | ||
Line 11: | Line 11: | ||
< | < | ||
mega-login --auth-code=999999 < | mega-login --auth-code=999999 < | ||
- | mega-exclude -a *.RW2 | + | mega-exclude -a *.RW2 *.nef |
mega-mkdir /images | mega-mkdir /images | ||
mega-sync / | mega-sync / | ||
Line 21: | Line 21: | ||
ID LOCALPATH | ID LOCALPATH | ||
0 / | 0 / | ||
+ | </ | ||
+ | |||
+ | You can use mega-find to ensure that no .RW2 files have slipped through (the mega-exclude patterns are case sensitive) | ||
+ | < | ||
+ | $ mega-find /images --use-pcre --pattern=' | ||
+ | </ | ||
+ | |||
+ | I forgot to exclude .nef files from a different camera | ||
+ | < | ||
+ | $ mega-find /images --use-pcre --pattern=' | ||
</ | </ | ||