Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- concat=false;
- 9
- 10 for fl in /var/lib/reachoo/oodle_test/*.b; do
- 11 filesize=$(stat -c%s "$fl");
- 12 if [ "$filesize" -gt "0" -a "$filesize" -lt "62914560" ]; then
- 13 concat=true;
- 14 echo "concat is true inside if";
- 15 echo "file size $filesize";
- 16 mv $fl $fl.old;
- 17 sed 's/<\/Listings>//g' $fl.old > $fl;
- 18 rm -f $fl.old;
- 19 # else find . -name "*.b" -type f -exec cp /dev/null {} \;
- 20 fi
- 21
- 22 done
Add Comment
Please, Sign In to add comment