File Operation

direction:   

Utility functions for copying and archiving files and directory trees.

The functions here don't copy the resource fork or other metadata on Mac.

shortage:

      1.  全文件/ 全目录  的拷贝

       2. 苹果数据拷贝

module: shutil

copy  copy2   copystat   

copyfile:  对象 文件 + 文件

copy:      对象  文件  +   文件/ 目录

copytree:对象 目录  +  目录

move:     对象 文件 or 目录   +  文件 or 目录

   
   
   

猜你喜欢

转载自blog.csdn.net/coolervschanger/article/details/84923777