« ragetvgrab command lineMythAlarm »

2007/08/17

  09:59:38 pm, by   , 52 words  
Categories: C++

SRC="$1"
DST="$2"
for F in "$SRC"/.* "$SRC"/*
do # for every entry in the source directory
if [ $(basename "$F") != .svn ]
then # for everything that isn't an SVN directory
if [ -d "$F" ]
then # recursively copy subdirectories
mkdir "$DST"/$(basename "$F")
"$0" "$F" "$DST"
else # simple copy for files
cp -a "$F" "$DST"
fi
fi
done

No feedback yet


Form is loading...

April 2024
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 << <   > >>
Programming

Search

  XML Feeds

powered by b2evolution free blog software