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