1 |
Am 30.05.2012 20:29, schrieb Florian Philipp: |
2 |
> |
3 |
> mkdir -p mkdir /tmp/foo; find "$HOME" -type f -printf '%f %s\n' | \ |
4 |
> gawk '{ print $2 > "/tmp/foo/" $1 }' |
5 |
> |
6 |
> --> Fills /tmp/foo with small files |
7 |
> |
8 |
> mkdir -p mkdir /tmp/foo; find "$HOME" -type f -printf '%f %s\n' | \ |
9 |
> mawk '{ print $2 > "/tmp/foo/" $1 }' |
10 |
> |
11 |
> --> Crashes with error 'mawk: cannot open "/tmp/foo/7B090d01" for output |
12 |
> (Too many open files)' |
13 |
> |
14 |
> Probably not the cleverest approach to this but just a reminder that |
15 |
> there are still subtle differences. |
16 |
> |
17 |
> That being said, +1 for giving the choice. |
18 |
> |
19 |
> Regards, |
20 |
> Florian Philipp |
21 |
|
22 |
s/mkdir -p mkdir/mkdir -p/g |