However, this doesn't work, as no files starting in `.` are displayed. If it makes any difference, I'm on perl 5.10, on Windows XP Pro. Does anyone have a solution for this, without completely rewriting? Thanks,@files = <$input$dir>; foreach $file (@files) { if(-f $file && ($file =~ /\.DS_Store/i)) { print "$file\n"; unlink $file; } }
In reply to View hidden files? by sito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |