Exemple #1
0
def delete(files):
    """
    Move, copy files to a given destination or delete file(s).

    Args:
        files: List of file(s) to delete.
    """
    click.echo(files)
    file_ops.process_files(files, '', 'rm')
def delete(files):
    """
    Move, copy files to a given destination or delete file(s).

    Args:
        files: List of file(s) to delete.
    """
    click.echo(files)
    file_ops.process_files(files,'','rm')
Exemple #3
0
def copy(files, destination):
    """
    Move, copy files to a given destination or delete file(s).

    Args:
        files: List of file(s) to copy.
        destination: String specifying the destination to copy files.
    """
    click.echo(files)
    click.echo(destination)
    file_ops.process_files(files, destination, 'cp')
def copy(files,destination):
    """
    Move, copy files to a given destination or delete file(s).

    Args:
        files: List of file(s) to copy.
        destination: String specifying the destination to copy files.
    """
    click.echo(files)
    click.echo(destination)
    file_ops.process_files(files,destination,'cp')