Re: Unix C programming for finding file
From: Måns Rullgård (mru_at_inprovide.com)
Date: 11/24/04
- Next message: Bjørn Augestad: "Re: Unix C programming for finding file"
- Previous message: dawn: "Unix C programming for finding file"
- In reply to: dawn: "Unix C programming for finding file"
- Next in thread: dawn: "Re: Unix C programming for finding file"
- Reply: dawn: "Re: Unix C programming for finding file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Nov 2004 16:34:29 +0100
dawn <ming@lian.com> writes:
> Hi all,
> I am now working on a C program under Unix.
> The requirement for the program is that:
> A file name is passed to program as a parameter. The program
> will Find files under a specified directory. The matched file
> must have the same content with the given file. It does not
> matter whether the filenames are the same.
find dirname -type f -exec cmp -s filename {} \; -print
-- Måns Rullgård mru@inprovide.com
- Next message: Bjørn Augestad: "Re: Unix C programming for finding file"
- Previous message: dawn: "Unix C programming for finding file"
- In reply to: dawn: "Unix C programming for finding file"
- Next in thread: dawn: "Re: Unix C programming for finding file"
- Reply: dawn: "Re: Unix C programming for finding file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|