Python - How to copy a file from a Windows share to a Linux share -
i have system windows 7 , want copy file windows share linux share. both shares mounted after logging in through logon script (l: , n:).
i want code python program job. think best way
shutil.copy("l:/windows/path/to/file", "n:/linux/path/to/new/directory/") (because shares mounted), i'm not sure if have side effects , because productive environment, don't want risk anything.
any better ideas or should work without messing things up?
thanks!
Comments
Post a Comment