Search Results

Search: Posts Made By: Venkatesan
1,711
Posted By Venkatesan
files='ls filename' for file in $files do ...
files='ls filename'
for file in $files
do
ftp -vn $hostname <<EOFD
quote USER $username
quote PASS $password
binary
cd $start_dir
rm -rf $file
quit
EOFD
done

Please use [CODE]...
1,711
Posted By Venkatesan
Deleting files
Hi all, I have developed a shell script to copy the files from source to destination and simultaneously to delete the copied files in source. I can copy the files but the files cannot be deleted in...
Showing results 1 to 2 of 2

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