To Copy all files (of given extension if specified) or only properties of the files in the input directory to the output directory. (recursively or non recursively).
copydir.copydir():
You can copy all files in the input directory using copydir.copydir() function.
- It can copy files recursively or non recursively in the directory tree.
- It copies exact copy of files including its meta data information.
copydir.copyinfo():
You can copy only meta data information of all files in the input directory using copydir.copyinfo() function.
- It can copy files metadata recursively or non recursively in the directory tree.
- A file's metadata (like: file properties, exif data and audio/video metadata) is copied into file.info.
- It is useful for backup purposes.
- Size of .info file is very small ≤ 1 KB