Skip to content
Snippets Groups Projects
Commit 720aeb59 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

detect broken files

parent fd2f93d0
Branches
No related tags found
1 merge request!168Draft: run du
Pipeline #121582 passed
...@@ -78,6 +78,11 @@ common:setup: ...@@ -78,6 +78,11 @@ common:setup:
df -h df -h
mount mount
if [ -n "${RM}" ] ; then rm -rf $RM ; fi if [ -n "${RM}" ] ; then rm -rf $RM ; fi
for file in find /scratch/snakemake-cache; do
if file -b "$file" | grep -E '^ROOT file'; then
rootls "$file" 2>/dev/null || echo "$file is broken"
fi
done
find `realpath /scratch` -type l -print0 | (du -sL --files0-from=- || true) | sort -n > /tmp/df find `realpath /scratch` -type l -print0 | (du -sL --files0-from=- || true) | sort -n > /tmp/df
#find `realpath /scratch` -type f -print0 | du -s --files0-from=- || true | sort -n > /tmp/df #find `realpath /scratch` -type f -print0 | du -s --files0-from=- || true | sort -n > /tmp/df
head /tmp/df head /tmp/df
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment