I’m a first time GitHub user so please forgive my mistakes!
I’m also a Python newbie and I’d like some help to copy some Windows folders and files to a Centos 8 filesystem.
In Windows I have:
C:\folder1\file1, C:\folder2\folder3\file2, C:\folder4\folder5\folder6\file3, etc.
I’d like to copy these folders including sub-folders and files to my Centos 8 filesystem and replicate the directory layout like this on my Centos 8 machine:
/mystuff/folder1/file1, /mystuff/folder2/folder3/file2, /mystuff/folder4/folder5/folder6/file3, etc.
A little Python code snippet to do this would be much appreciated.
Thanks in advance!