Skip to content

Instantly share code, notes, and snippets.

@Dammmien
Created March 9, 2018 19:38
Show Gist options
  • Select an option

  • Save Dammmien/499856f2c4e0ea8b41bc4dab0b4b32ee to your computer and use it in GitHub Desktop.

Select an option

Save Dammmien/499856f2c4e0ea8b41bc4dab0b4b32ee to your computer and use it in GitHub Desktop.

Revisions

  1. Dammmien created this gist Mar 9, 2018.
    3 changes: 3 additions & 0 deletions files.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    for FILE in $(find . -name "*.svg"); do
    grep -qR $(basename "$FILE") * || echo "you can remove $FILE"
    done