Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 25, 2026

Diff for scripts/shell/obex/obexftp-get-folder.sh between version 1.2 and 1.3

version 1.2, 2005/02/07 14:15:30 version 1.3, 2006/07/08 15:32:00
Line 12 
Line 12 
 # 2005-02-03 - created  # 2005-02-03 - created
 #  #
   
 # $Platon: scripts/shell/obex/obexftp-get-folder.sh,v 1.1 2005/02/06 10:11:46 nepto Exp $  # $Platon: scripts/shell/obex/obexftp-get-folder.sh,v 1.2 2005/02/07 14:15:30 nepto Exp $
   
 if [ "X$1" = "X" ]; then  if [ "X$1" = "X" ]; then
         echo "Usage: $0 <folder>";          echo "Usage: $0 <folder>";
Line 20  if [ "X$1" = "X" ]; then
Line 20  if [ "X$1" = "X" ]; then
 fi  fi
   
 DIR="`pwd`/$1";  DIR="`pwd`/$1";
 list="`obexftp-list.sh "$1" | sed 's/ /_/g'`";  list="` obexftp-list.sh "$1" | sed 's/ /_/g' `";
   
 if [ "X$list" = "X" ]; then  if [ "X$list" = "X" ]; then
         echo "ERROR: empty list (not connected?)";          echo "ERROR: empty list (not connected?)";
Line 50  for i in $list; do
Line 50  for i in $list; do
                 echo "File exists, skipping...";                  echo "File exists, skipping...";
                 continue;                  continue;
         fi          fi
         obexftp --get "$1/$file" && touch -c -t "$tts" "$file";          obexftp -b --get "$1/$file" && touch -c -t "$tts" "$file";
         if [ $? -ne 0 ]; then          if [ $? -ne 0 ]; then
                 echo "ERROR processing file";                  echo "ERROR processing file";
                 sleep 1;                  sleep 1;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top