Great, have been hacking in bash for years for this behaviour, will be
much better now !
exc_dirs=$(cat exclude_dirs | while read line; do if [ -n "$line" ];
then echo -n $line; echo -n "|"; fi; done)
if [ "$exc_dirs" != "" ]
then
#bash subsitution of last pipe |
exc_dirs=${exc
Hello,
Sorry if this is not the way for asking this question. I'm facing a
strange problem with LFTP. I'm using mirror option with this script
(removed IP for security):
HOST='X.X.X.X'
USER='anonymous'
PASS='anonymous'
TARGETFOLDER='/var/www/html/testSVM/FpData6'
SOURCEFOLDER='/D:/logs'
lftp -f
On Fri, Mar 11, 2016 at 11:46:56AM +0100, Pedro Jiménez wrote:
> Downloaded files have a wrong modified date, they are exactly 1 month back,
> that is, files downloaded today should have date 11 March 2016, but they
> have 11 February 2016. I have checked the date at server and it's correct.
Turn