12 lines
159 B
Bash
Executable File
12 lines
159 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# this runs as a normal user.
|
|
|
|
cd /usr/local/cache
|
|
for i in *
|
|
do
|
|
if ! test -a /mnt/cache/$i; then
|
|
cp -ar "$i" /mnt/cache/
|
|
fi
|
|
done
|