Linux

From ACL@NCU
Revision as of 23:38, 17 January 2013 by Aclexp (talk | contribs) (tcsh)
Jump to navigation Jump to search

Useful tcsh and python commands

tcsh

  • Find files
    • with defined stem pattern under multiple different folder
find */*/*anat+tlrc.*
    • find files with a suffix recursively under subdirectories
find . -name \*.mgz -print
    • delete or copy filenames from a "pattern" search
rm `find */*/*anat+tlrc.*`

python