Skip to content

[Archive] Remove last slash in path for file to be archived #6

@anselmos

Description

@anselmos

Need to remove last slash file/dir path for archive script, for it not to try to create .tar.gz inside of directory that will be removed in a second.

as this error happens:

tar: path_dir: file changed as we read it

But it does not stop rm -rf script from removing directory with it's contents, even if script didn't make it to create tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions