Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: I am a file in the land of dirs and I want to dive ...
- X-seq: zsh-users 16137
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: I am a file in the land of dirs and I want to dive ...
- Date: Sat, 16 Jul 2011 14:29:23 -0700
- In-reply-to: <20110716180435.GA1535@solfire>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20110716180435.GA1535@solfire>
On Jul 16, 8:04pm, meino.cramer@xxxxxx wrote:
}
} sorry for the nonsense in the subject line.... ;)
The nonsense in the message body is much more in need of apology. :-)
} I tried as root
}
} cd /
} zargs -- *(/) -- whirlpooldeep > /tmp/allfiles.crc.txt
}
} OK...then recursively:
}
} cd /
} zargs -- *(/) -- whirlpooldeep > /tmp/allfiles.crc.txt
These two examples look exactly the same, and in neither case do you
show or even explain what "whirlpooldeep" is, so it's pretty difficult
to help you out.
One question is why you're using a pattern that matches directories
when what you are seeking is files?
} which gaves me:
}
} zsh: no matches found: **(.)
That, however, is an obviously useless pattern. "**" only makes sense
when immediately followed by "/". Somewhere you should be using **/*(.)
but I can't guess where.
E.g.:
zargs -- /**/*(.) -- md5sum > /tmp/allfiles.md5.txt
Replace md5sum with whatever does your CRC. Or if **/*(.) is too much
for zsh to handle,
find / -type f -print0 | xargs -0 md5sum > /tmp/allfiles.md5.txt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author