![]() |
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 |
| Line deletion help using perl -ne | lijju.mathew | UNIX for Dummies Questions & Answers | 1 | 01-02-2008 02:54 PM |
| Perl program to read from multiple files | jyotipg | Shell Programming and Scripting | 1 | 07-19-2006 09:26 PM |
| Combining Multiple files in one in a perl script | rahulrathod | Shell Programming and Scripting | 1 | 12-18-2005 01:51 AM |
| Perl - Emailing MULTIPLE files as attachment | Tonka52 | Shell Programming and Scripting | 3 | 02-11-2004 01:19 PM |
| Adding 3 Lines to Multiple c and h files with perl | Lazzar | Shell Programming and Scripting | 2 | 10-28-2003 01:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
if no subdirectories are involved:
unlink glob('path/to/folder/*.trg'); or if you are in the directory: unlink glob('*.trg'); if you have to drill down through subdirectories you can use File::Find to find them all and unlink to delete them. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|