Actions

Difference between revisions of "Linux"

From ACL@NCU

(Created page with "Useful tcsh and python commands = tcsh = = python =")
 
Line 2: Line 2:


= tcsh =
= tcsh =
 
*Find files
**with defined stem pattern under multiple different folder
<pre>
find */*/*anat+tlrc.*
</pre>
**delete or copy filenames from a "pattern" search
<pre>
rm `find */*/*anat+tlrc.*`
</pre>


= python =
= python =

Revision as of 16:19, 15 January 2013

Useful tcsh and python commands

tcsh

  • Find files
    • with defined stem pattern under multiple different folder
find */*/*anat+tlrc.*
    • delete or copy filenames from a "pattern" search
rm `find */*/*anat+tlrc.*`

python