in reply to Re: Finding and Moving hidden files in Unix
in thread Finding and Moving hidden files in Unix
use File::Find::Rule qw( ); my @files = File::Find::Rule ->file() ->name( '.*' ) ->in( $base_dir );
@files contains qualified paths. You can then use File::Copy's move to move the files.
|
|---|