add cache print script

This commit is contained in:
Michael Melesse
2022-10-25 20:48:36 +00:00
parent e84297ca79
commit df925f7187

View File

@@ -4,6 +4,10 @@ CACHED_FILES=$(find /root/.triton/cache/ -type f -name "*.*")
for file in ${CACHED_FILES[@]}; do
echo "$file"
sed -i -e '$a\' $file
cat $file
if [[ $file == *.so ]]; then
echo "Skipping printing .so file"
else
sed -i -e '$a\' $file
cat $file
fi
done