module documentation

Recursively find :file:`info` and zipped files within a directory and administer archives.

This module can be called from the shell, it will recursively look for :file:`info` and :file:`pickle` files in the current working directory:

$ python -c "from cocopp.findfiles import main; print(main())"

displays found (extracted) files.

TODO: we do not use pickle files anymore.

Function get_directory Undocumented
Function get_output_directory_sub_folder Undocumented
Function is_recognized_repository_filetype Undocumented
Function is_recognized_repository_filetype2 return True if filename is a file and ends with a recognized extension
Function main Lists "data" files recursively in a given directory, tar files are extracted.
def get_directory(directory, extract_files):

Undocumented

def get_output_directory_sub_folder(args):

Undocumented

def is_recognized_repository_filetype(filename):

Undocumented

def is_recognized_repository_filetype2(filename):

return True if filename is a file and ends with a recognized extension

def main(directory='.'):

Lists "data" files recursively in a given directory, tar files are extracted.

The "data" files have :file:`info` and :file:`pickle` extensions.

TODO: not only recognize .tar and .tar.gz and .tgz but .zip...