Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • etp-computing/xcache-nspawn-lrz
1 result
Show changes
Commits on Source (2)
#!/bin/bash
#
# remove cache entries for file pattern
......@@ -8,18 +7,14 @@ if [ $# -lt 1 ]; then
exit 1
fi
fpat=$1'*'
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" `
flist=`find $xrdpath -xtype f -path "$fpat" `
# check RAM disk
fl2=`find /dev/shm/atlas -xtype f -name "$fpat" `
fl2=`find /dev/shm/atlas -xtype f -path "$fpat" `
flist="$flist $fl2"
......@@ -49,4 +44,3 @@ read ok
if [ "$ok" == "y" ]; then
rm $flist $flink
fi