![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Multiple Lines to Multiple Files | dayinthelife | Shell Programming and Scripting | 2 | 06-04-2008 11:50 AM |
| deleting lines from multiple text files | vrms | Shell Programming and Scripting | 3 | 04-25-2008 11:01 AM |
| deleting multiple records from a huge file at one time | dsravan | Shell Programming and Scripting | 5 | 02-06-2008 11:17 AM |
| Searching multiple files with multiple expressions | Anahka | Shell Programming and Scripting | 6 | 01-07-2004 06:24 PM |
| Deleting Multiple Lines with sed | rambo15 | Shell Programming and Scripting | 1 | 02-16-2002 06:19 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
deleting multiple files through ftp
Hi,
I have a situation where I need to delete multiple files from a folder once I connect to FTP server. I am using ftp script to get the files, number of files always vary from 1 to 100. once I get the files I need to delete all the files downloaded I am making a list of all the files downloaded and store in a variable so at the end when I am ready to delete files my variable will have all the names of files to be deleted like.... VAR_FILES_DELETE=file1 file2 file3 file4 file4 I am using a command del ${VAR_FILES_DELETE} this is not working it is just deleting file1 why is it not deleting all the files...? or is it a limitation that we can delete only one file at a time...? is there any other way to delete multiple files once I get connected to FTP...? Please help. Thanks, |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|