Skip to content

getgraph script deletes .graphml files from user's Downloads folder without confirmation #286

@GaneshPatil7517

Description

@GaneshPatil7517

@pradeeban
The getgraph (bash) and getgraph.bat scripts copy .graphml files from the user's Downloads folder and then delete them:

cp ~/Downloads/*.graphml .
rm ~/Downloads/*.graphml
copy %HOMEDRIVE%%HOMEPATH%\Downloads\*.graphml
del  %HOMEDRIVE%%HOMEPATH%\Downloads\*.graphml

This is dangerous because:
It deletes ALL .graphml files from Downloads, not just concore-related ones
There is no confirmation prompt before deletion
There is no error handling if no files exist
Users may have other .graphml files (yEd, Gephi, etc.) that would be lost

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions