Displaying 1 result from an estimated 1 matches for "folders_hash".
2010 Feb 09
1
Understanding migrateuser.sh
...is the
-UKWS argument immediately after the mb2md.pl invocation?
> $MB2MD -UKWS -s "$INBOX" -d "$WORKING"
As always, reading the idiom of someone else's scripting is an
education. And some of it wouldn't work with native AIX sh/ksh, so
changed the functions:
> folders_hash() {
> local HASH=`find $FOLDERS -type f |sort|(IFS=\
> ;while read file; do ls -l "\$file"; done)`
> eval "$1=\"$HASH\""
> }
>
to:
> folders_hash() {
> local IFS=\
> local HASH=`find $FOLDERS -type f | sort | \
> while read file...