# Get list of remote files my @remote_files= qx(ssh $uid $h 'find $dirname');