Re: BASH file processing help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-11-17 at 16:33, Mobeen Azhar wrote:
> I have been trying to complete a simple (for me on the WinBlows platform) file 
> operation and seem unable to do so.  Basically I need something along the lines 
> of "For all files in a given directory, delete files with the same name from 
> this other directory".  I tried using find with exec but that causes me grief 
> because it adds the current path to the file name to be deleted.  I tried using 
> a for look but cannot seem to get it to work from the command line, without 
> putting it in a script file.
> 
> Any help would be tremendously appreciated,

Is there recursion involved, or is it one level deep?  If recursion,
should it be assumed that the naming is parallel across levels?


-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux