Difference between revisions of "Linux"
From ACL@NCU
(→tcsh) |
|||
Line 1: | Line 1: | ||
Useful tcsh and python commands | Useful tcsh and python commands | ||
<font size=5> | |||
= tcsh = | = tcsh = | ||
*Find files | *Find files | ||
Line 7: | Line 7: | ||
find */*/*anat+tlrc.* | find */*/*anat+tlrc.* | ||
</pre> | </pre> | ||
**delete or copy filenames from a "pattern" search | **delete or copy filenames from a "pattern" search | ||
<pre> | <pre> | ||
rm `find */*/*anat+tlrc.*` | rm `find */*/*anat+tlrc.*` | ||
</pre> | </pre> | ||
= python = | = python = | ||
</font size> |
Revision as of 15:36, 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