2014-11-03 10:49:17 -05:00

16 lines
181 B
Bash
Executable File

#!/bin/bash
FILE=~/Desktop/test/ghost
FILE1=~/Desktop/test/cpghost
while [[ true ]]
do
if [ -f $FILE ]
then
cp $FILE $FILE2
echo got it
fi
sleep 2
done