I have files under nested directories like /x/0/0/0/a.txt till /x/9/9/9/a.txt To be more specific Under /x/ there are 0-9 folders Under /x/0/ there are 0-9 folders Under /x/0/0/ there are 0-9 folders Under/x/0/0/0/ there are files like a b c.
Now all these files needed to be copied to a directory like /y/ , where the previous directory structure should be followed.