Use srmls to obtain files - fix for directories with more than 1000 entries
sync