Skip to content
Snippets Groups Projects
Commit be67d1f5 authored by Nikolai Hartmann's avatar Nikolai Hartmann
Browse files

adjust path in rm_cached_file.sh

parent 2e16d550
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
# remove cache entries for file pattern
......@@ -11,11 +10,7 @@ fi
fpat=$1'*'
# check cache
xrdpath1=/srv/xcache/xrd/namespace/atlas/
xrdpath=/data/xrd/namespace/atlas
if [ -e $xrdpath1 ]; then
xrdpath=$xrdpath1
fi
xrdpath=/srv/xcache/namespace/atlas/
flist=`find $xrdpath -xtype f -name "$fpat" `
# check RAM disk
......@@ -49,4 +44,3 @@ read ok
if [ "$ok" == "y" ]; then
rm $flist $flink
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment