def mv(self, src, dst):
        lgr.debug('Moving {0} to {1}'.format(src, dst))
        return shutil.move(src, dst)

    # def tar(self, chdir, output_file, input_path):
    #     """tars an input file or directory

    #     :param string chdir: change to this dir before archiving
    #     :param string output_file: tar output file path
    #     :param string input: input path to create tar from
    #     :param string opts: tar opts
    #     """
    #     lgr.debug('tar-ing {0}'.format(output_file))
    #     return sh.tar('-czvf', output_file, input_path, C=chdir)

    # def untar(self, chdir, input_file, strip=0):
    #     """untars a file

    #     :param string chdir: change to this dir before extracting
    #     :param string input_file: file to untar
    #     :param string opts: tar opts
    #     """
    #     lgr.debug('untar-ing {0}'.format(input_file))
    #     return sh.tar('-xzvf', input_file, C=chdir, strip=strip)
moves files or directories
dataset/ETHPy150Open cloudify-cosmo/packman/packman/utils.py/Handler.mv