![]() |
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 |
| deleting only directory not files | manoj.solaris | Linux | 13 | 05-02-2008 08:24 AM |
| deleting specific lines from all files in a directory | vrms | UNIX for Dummies Questions & Answers | 3 | 04-25-2008 11:08 AM |
| deleting empty files in a directory | berlin_germany | Shell Programming and Scripting | 5 | 01-26-2007 03:47 PM |
| UNIX Shell script to chec timeout period when collecting files in directory - HELP | Danny Fang | Shell Programming and Scripting | 1 | 03-23-2006 08:41 PM |
| Accidentally deleting directory/files | milhan | UNIX for Advanced & Expert Users | 4 | 08-27-2003 09:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
i have the following problem:
use shell script: Two directories have to be searched for files havin the same name. then delete these files from one of these directories. the directory names have to be accepted as command line arguments. what i have done till now is: 1. run a loop through both directories and 2. tried to compare the filenames. 3. i am not able to compare the names of files since the filenames are extracted alongwith the directory (dirname/filename) 4. i tried using cut. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|