mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
15 lines
278 B
Bash
Executable File
15 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# Run this script to see if a ressource is used in the code
|
|
#
|
|
|
|
for line in $(find resources -type f -not -path '*/\.*' -exec basename {} \; )
|
|
do
|
|
grep -R "$line" gns3 > /dev/null
|
|
if [ $? -eq 1 ]
|
|
then
|
|
echo "Unused ressource $line"
|
|
fi
|
|
done
|