ls | my_backup.pl find some_path -name '*.foo' | my_backup.pl