Search Results

Search: Posts Made By: vhegde1011
9,868
Posted By vhegde1011
Thanks. As per Man page, xfer:make-backup...
Thanks.
As per Man page, xfer:make-backup (boolean) : when true, lftp renames pre-existing file adding ‘~’ suffix instead of overwriting it.
Default value for above variable is ‘yes’. So before...
9,868
Posted By vhegde1011
Yes. file does not exit in server. But why...
Yes. file does not exit in server. But why command renames the local file with suffix tilde? 'xyz_file~'
9,868
Posted By vhegde1011
Lftp sftp get - script renames the local file with suffix tilde
Hi,
Below script used for sftp get,
#/bin/bash
USER=xxx
PASS=xxx
HOST=xxx
REMOTE_FILE=$1
LOCAL_FILE_LOC=$2
cd $LOCAL_FILE_LOC
lftp sftp://$USER:$PASS@$HOST:10022 -e "get $REMOTE_FILE; bye"
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy