![]() |
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 |
| How can I upload a zip folder on a unix path from my windows folder? | ajit.yadav83 | Windows & DOS: Issues & Discussions | 2 | 01-29-2009 08:56 AM |
| Move the file from one folder to another folder | sollins | Shell Programming and Scripting | 1 | 12-11-2008 04:03 PM |
| script for Finding files in a folder and copying to another folder | satish2712 | Shell Programming and Scripting | 5 | 09-11-2008 04:07 PM |
| Auto copy for files from folder to folder upon instant writing | Bashar | UNIX for Advanced & Expert Users | 2 | 08-21-2008 02:44 PM |
| Parse the .txt file for folder name and FTP to the corrsponding folder. | MeganP | Shell Programming and Scripting | 3 | 07-03-2007 01:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
operation on a folder level
hi,
need help in writing a script in perl. requirement : 1. Search for the files in a particular folder 2. search for a string in the file names 3. Delete the file which matches the string. Ex: if the folder is C:\TEST and the folder has 5 files like 2009ABCG.txt 2009MNO.txt 5241AAA.txt 1111aaa.txt and 2009PQR.txt the matching string is "2009", then i want to delete all the files with the names %2009% i.e files 2009ABCG.txt,2009MNO.txt and 2009PQR.txt should be deleted from the folder C:\TEST |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|