git-push-to-gitlab: Don't create or push `synced/master`
[sunny256-utils.git] / mkFiles_rec
blob929e96f2119758e73361c2db4fbfaa902cee1df6
1 #!/usr/bin/env bash
3 # mkFiles_rec
4 # File ID: c3a7f1d4-5d3f-11df-8759-90e6ba3022ac
5 # Recursive mkFiles
7 if [ "$1" = "-c" ]; then
8 # Check the Files.md5 files instead of creating them
9 for f in `find -type d -depth`; do
10 echo "=== Directory $f"
11 cd $f && { md5sum -c Files.md5 ; cd - ; }
12 done
13 else
14 # Create Files.md5
15 for f in `find -type d -depth`; do
16 echo $f
17 cd $f && { mkFiles ; cd - ; }
18 done
21 # vim: set ts=4 sw=4 :