diff options
author | Brian Harring <ferringb@gmail.com> | 2014-02-21 14:09:35 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gmail.com> | 2014-02-21 14:09:35 +0000 |
commit | b33f9ccd224651a38d137326102353a81a73335c (patch) | |
tree | 93ce55955b71ab8fc2c711891a13bf653e610ce3 | |
parent | Add a note about where to get userinfo.xml from (diff) | |
download | git-conversion-tools-b33f9ccd224651a38d137326102353a81a73335c.tar.gz git-conversion-tools-b33f9ccd224651a38d137326102353a81a73335c.tar.bz2 git-conversion-tools-b33f9ccd224651a38d137326102353a81a73335c.zip |
Fix find invocation so that symlinks can be used
-rwxr-xr-x | script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ mkdir git -p # the most revs, thus start them first. f() { time { \ - find cvs-repo/gentoo-x86 -maxdepth 1 -mindepth 1 -printf '%P\n' | \ + find cvs-repo/gentoo-x86/ -maxdepth 1 -mindepth 1 -printf '%P\n' | \ xargs -n1 -I{} -- du -cs "cvs-repo/gentoo-x86/{}" | grep -v 'total$' | \ sort -gr | awk '{print $2;}' | xargs -n1 basename | \ xargs -n1 -P${proc_count} -I{} ./process_directory.sh "{}" $1 |