Skip to content

Commit

Permalink
Merge pull request #106 from rindeal/patch-2
Browse files Browse the repository at this point in the history
db_list - support for filenames containing ":"
  • Loading branch information
andreafabrizi committed Jan 7, 2014
2 parents a4fa60b + aebf947 commit 1b3906b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dropbox_uploader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ function db_list
local padding=0
while read -r line; do
local FILE=${line%:*}
local META=${line#*:}
local META=${line##*:}
local SIZE=${META#*;}

if (( ${#SIZE} > $padding )); then
Expand All @@ -926,7 +926,7 @@ function db_list
while read -r line; do

local FILE=${line%:*}
local META=${line#*:}
local META=${line##*:}
local TYPE=${META%;*}
local SIZE=${META#*;}

Expand Down

0 comments on commit 1b3906b

Please sign in to comment.