Actions

Linux

From ACL@NCU

Revision as of 00:42, 18 January 2013 by Aclexp (talk | contribs) (→‎tcsh)

Useful tcsh and python commands

tcsh

  1. Find files
    1. with defined stem pattern under multiple different folder

##find */*/*anat+tlrc.* ##

    1. find files with a suffix recursively under subdirectories
find . -name \*.mgz -print
    1. delete or copy filenames from a "pattern" search
rm `find */*/*anat+tlrc.*`

python