App-dropboxapi
view release on metacpan or search on metacpan
script/dropbox-api view on Meta::CPAN
my $format = {
i => 'id',
n => 'name',
b => 'size',
e => 'thumb_exists', # jpg, jpeg, png, tiff, tif, gif or bmp
d => 'is_dir', # Check if .tag = "folder"
p => 'path_display',
P => 'path_lower',
s => 'format_size',
t => 'server_modified',
c => 'client_modified', # For files, this is the modification time set by the desktop client when the file was added to Dropbox.
r => 'rev', # A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts.
R => 'rev',
};
# ProgressBar
my $cols = 50;
if ($verbose) {
eval {
my $stty = `stty -a 2>/dev/null`;
if ($stty =~ m|columns (\d+)| || $stty =~ m|(\d+) columns|) {
( run in 0.421 second using v1.01-cache-2.11-cpan-299005ec8e3 )