Normally dot files are not included for wildcard expansion:% echo *Applications Desktop Documents Downloads Library Movies Music Pictures Public binIf I explicitly ask for dot files, I get them:% echo * .*Applications Desktop Documents Downloads Library Movies Music Pictures Public bin . .. .CFUserTextEncoding .DS_Store .Trash .adobe .bash_history .cups .gitconfig .gnupg .history .lesshst .netbeans .scanview.cfg .sqlite_history .ssh .swt .systemmodeler .tcshrc .viminfoHowever I also get . and ...  I don't want those, for example if I'm passing to du -s where I want the size of every item in the directory.  Is there some pattern that gives me just what's in the current directory, and everything in the current directory without . and ..?I use tcsh.(With regard to the This question may already have an answer here: note above: no this question doesn't have an answer there, since that answer only works for bash.)
How do I specify arguments to return all dot files, but not . and ..?
shell;tcsh;csh;dot files
With tcsh 6.17.01 and above:set globdotdu -s -- *With older ones:du -s -- * .[^.]* ..?*(interestingly, that works better than its POSIX counterpart (* .[!.]* ..?*) because in tcsh (and in zsh in csh emulation (cshnullglob option)), contrary to POSIX shells, those pattern that don't match any file get expanded to nothing instead of themselves)With standard find:find . ! -name . -prune -exec du -s {} +Note that GNU du has a -d option to limit the depth at which dir disk usage are reported:du -ad1