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.
In reply to Re^2: Finding and Moving hidden files in Unix
by ikegami
in thread Finding and Moving hidden files in Unix
by gplantz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |