![]() |
|
|
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 to remove directory with subdirectories and files? | ppa108 | UNIX for Dummies Questions & Answers | 9 | 11-25-2008 02:02 AM |
| Can't list or remove files from a directory | m_smith | UNIX for Advanced & Expert Users | 2 | 06-25-2008 06:27 PM |
| remove old files from a directory | 2davidc8 | UNIX for Dummies Questions & Answers | 2 | 07-03-2007 03:06 PM |
| remove duplicate files in a directory | asinha63 | Shell Programming and Scripting | 1 | 03-13-2006 03:46 PM |
| Want to remove files from unix directory | yogi_chavan | HP-UX | 1 | 08-12-2005 05:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Remove files from a directory using perl
Hi all,
I have the following question. Considder that in the directory /code the script remove.pl exists. What i want is to run this script and remove some files that exist in the directory /dir/tmp. I use the below code but it does not work. system("cd /dir/code"); system("rm FileName"); Best Regards, Christos |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|