in reply to Reading every file in a directory
how do you assign those files within the directory (all of which are the same format) to be opened so the timestamp may be read ?
files directory -> How to read files in a directory, directory path to be given through CMD, How to find & list 0 byte files in a directory ... opendir,readdir,File::Find, File::Find::Rule
my $rule = File::Find::Rule->file->name("*.jpeg")->maxdepth(1)->start( + "/web" ); while ( defined ( my $image = $rule->match ) ) { ... }
Its covered in many a free tutorial and free book http://perl-tutorial.org/, The Perl Monks Guide to the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading every file in a directory
by spookyjack123 (Initiate) on Sep 29, 2012 at 01:35 UTC | |
by Kenosis (Priest) on Sep 29, 2012 at 01:49 UTC | |
by spookyjack123 (Initiate) on Sep 29, 2012 at 03:12 UTC | |
by Athanasius (Archbishop) on Sep 29, 2012 at 04:27 UTC | |
by Kenosis (Priest) on Sep 29, 2012 at 04:44 UTC | |
by spookyjack123 (Initiate) on Sep 29, 2012 at 02:42 UTC | |
by Anonymous Monk on Sep 29, 2012 at 06:38 UTC |