Jottacloud CLI comes with several settings you can toggle or tune.
You can see a complete list of these settings and their values by calling:
> jotta-cli config get
downloadrate : unlimited
uploadrate : unlimited
scaninterval : 1h0m0s
webhookstatusinterval : 6h0m0s
logscanignores : false
slowmomode : 0
logtransfers : false
screenshotscapture : false
The default settings are displayed above.
Download and upload rate
Changes the bandwidth
jottad is allowed to consume when downloading/uploading. The units used to describe this should be fairly intuitive: 1m means 1Megabytes per second. 512k means 512 Kilobytes per second. 0 means unlimited.
jottad scans each folder added to backup every scaninterval.
The units are:
h for hour
m for minutes
s for seconds
They can be combined or used alone as
jotta-cli config set scaninterval 30m
jotta-cli config set scaninterval 2h
jotta-cli config set scaninterval 1h30m
You can also set the scaninterval to 0. jottad will then run backups in realtime mode which uses triggers from the filesystem to determine what and when to perform backups.
If you have any webhooks configured
jottad will post a statusupdate to the webhook every webhookstatusinterval. The units are as for scaninterval.
jottad will ignore some files when scanning. Either because
jottad ignores all such files or because you may have added your own ignore rules. Setting logscanignores to true will cause
jottad to write the reason for each file ignored to the logfile. You can use this to figure out why a particular file or folder was not updated.
jottad will by the default value of slomomode use all available cpu/harddrive resources when scanning. This can cause other processes to suffer. By setting slowmomode to a higher value scan will slow down a bit thus using less cpu/harddrive. The range of valid values is (0-50).
jottad by default only logs transfer errors. Setting this to true will cause jottad to write the result of all http requests related to upload/download to the logfile.
Screenshotcapture ( MacOS )
Setting to true will cause
jottad to watch for any screenshots taken, upload them and generate a public url which i written to your clipboard. It can be very useful for quickly sharing screenshots with other people.
Screenshotcapture ( linux )
While not as straight forward as on MacOS, it is possible to do this on linux as well.
Install scrot and xclip with your package manager:
apt install scrot xclip # apt/dpkg based
yum install scrot xclip # rpm based
Create scrot.sh for pushing screenshots to Jottacloud:
mkdir -p ~/Screenshots
sleep 0.2 ; scrot -s -e 'mv $f ~/Screenshots ; jotta-cli archive ~/Screenshots/$f --share --clipboard --nogui'
Mark the area you want to screenshot and the URL to the screenshot will automatically be posted to your clipboard