Possible Duplicate:
Can I keep . and .. out of .* expansion?
I know about
mv * ~/whatever
mv .* ~/whatever
but that tries to move .
and ..
, which just caused me a bunch of pain. Is there a way to mv all the files, including the .*
files, but exclude the current directory and it's parent?