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

Re: Finding files not present (challenge to your intelligence)



Hi Martin,

> How about using find and generate a list of ALL files, then "grep 
> `indivual_lines_from_your_list` list_of_ALL_files" and checking grep's
> return value?

Well, what I am doing right now is generating a list of the files that
are present (using find and redirecting its output to a file). Later,
I search this file for files not in my original list, so I know which
files are missing. I am using Perl to do this.

Regards,

E.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9430323


Reply to: