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

use symlink to provide a fake extension

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