Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Download only certain file with dbxcli
#!/bin/bash
#
# Usage : dbxcligetfiles.sh "\*\.png" /Webdesign
#
dbxcli search $1 $2 | while read line
do
echo $line
mkdir -p ".${line%/*}"
dbxcli get "$line" ".$line"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.