Home > Archive > PERL Beginners > October 2005 > Finding all the files in a PC
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Finding all the files in a PC
|
|
| Andrew McHorney 2005-10-22, 6:55 pm |
| Hello
I am planning on developing a perl script that will find all the duplicate
files (name, size and content) on a pc and remove the duplicate files. I
have written a few scripts on a unix platform but non yet for a pc in a
windows environment. Can someone provide a basic stub that will find all
the files, the creation date and size and put them in a array. I want to
avoid putting the directories in the array.
This is because of various problems with a hard drive and putting files on
various removeable media disks.
Thanks,
Andrew
| |
| Wiggins d'Anconia 2005-10-22, 6:55 pm |
| Andrew McHorney wrote:
> Hello
>
> I am planning on developing a perl script that will find all the
> duplicate files (name, size and content) on a pc and remove the
> duplicate files. I have written a few scripts on a unix platform but non
> yet for a pc in a windows environment. Can someone provide a basic stub
> that will find all the files, the creation date and size and put them in
> a array. I want to avoid putting the directories in the array.
>
> This is because of various problems with a hard drive and putting files
> on various removeable media disks.
>
> Thanks,
> Andrew
>
>
>
perldoc File::Find
http://danconia.org
|
|
|
|
|