Move files and folders on linux using regular expressions