choroba@still ~ $ echo group1 > a choroba@still ~ $ echo group2 > b choroba@still ~ $ echo group11 > c choroba@still ~ $ perl 1223194.pl a b c Moving a into group1 Moving b into group2 Moving c into group11 choroba@still ~ $ ls a b c ls: cannot access 'a': No such file or directory ls: cannot access 'b': No such file or directory ls: cannot access 'c': No such file or directory ([2]) choroba@still ~ $ find group* -type f group1/a group11/c group2/b