Shell question

LuKreme <kremels-/[email protected]> Tue, 20 Mar 2012 09:20:21 -0600
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
I have the following line in a bash script

mv "$H_PATH/*" "${UROOT}${i}/Maildir/cur/"

which throws the error

mv: rename /home/kreme/Maildir/.NotJunk/cur/* to /home/kreme/Maildir/cur/*: No such file or directory

but:

# mv /home/kreme/Maildir/.NotJunk/cur/* /home/kreme/Maildir/cur/
#

which moves the 6 messages in .NotJunk/cur to the Inbox.

color me confused.


-- 
"...and Digby considered how much he liked salt..."