skip to main
|
skip to sidebar
linuxjunk
Wednesday, January 23, 2008
do some command on all files matching pattern
I keep forgetting how to do this:
for i in *sequence; do ~/code/myprog $i $i.out; done
runs myprog on all files ending in sequence myprogs second argument is filename followed by .out.
February 2008
November 2007
Home
Subscribe to:
Posts (Atom)
Blog Archive
►
2010
(1)
►
January
(1)
Annotating a Proxmark 3 mifare classic trace
►
2009
(66)
►
December
(4)
Getting started with proxmark 3 (Proxmark III)
returning by reference faster than returning by va...
Reverting an svn commit
Simple quicksort implementation
►
November
(11)
Templates v subclasses v.2
Are templates faster than subclasses?
Renicing synology nfsd so it has priority over oth...
Commands used to install golang
Version
list installed packages on debian and uninstall th...
Turning a Ubuntu install into a Window terminal se...
Upgrading eclipse on Ubuntu
strings in the n900 firmware
Make directory if it doesn't exist return true so ...
Routertech AR7RD ppp interface not coming up
►
October
(8)
vector bounds checking in GCC
Submit a bunch of jobs to SGE using a file as a te...
Windows 95/98/Me registry kludging
Misc RM Connect 2.x fixes
Windows NT/2000 password recovery
Internet Explorer and Acrobat print incorrectly. B...
Network configuration for older brother (1260/1660...
A short script to move files out of the way retain...
►
September
(8)
Rename files matching given spec to incrementing f...
My .mailcap
Simple pysam example
Simple zlib file reading example
Count files matching a given type/find spec
examine irssi scrollback
iWorks '09 Keynote hangs loading a ppt file potent...
Postfix won't start
►
August
(9)
Program for calculating E
Remove any linefeed from line which did not end in...
Twitter botnet/remote access
Simulate dataset with samtools, align with Bowtie,...
Reset author to filename on a bunch of pdf files
รถ (O with umlaut) on Mac OS X
Running samtools pileup on some aligned reads
vim/vi inverted replace
n810 g++ installation (os 2008.1 diablo)
►
July
(2)
Openmoko DNS settings
Quick bash script (check zero sized file) for refe...
►
June
(1)
Palm Pre uses glibc and has busybox
►
May
(3)
Making a C++ object printable to standard output
delete all linefeeds from a file
Connect to Freerunner Android from Opensuse
►
April
(3)
Multi column table in latex
latex "File ignored" not found on nfs ( isilon )
Growing a VM
►
March
(4)
►
February
(10)
►
January
(3)
▼
2008
(40)
►
December
(1)
►
November
(6)
►
October
(4)
►
September
(4)
►
August
(1)
►
July
(2)
►
June
(5)
►
April
(10)
►
March
(2)
►
February
(4)
▼
January
(1)
do some command on all files matching pattern
►
2007
(48)
►
November
(1)
►
October
(1)
►
September
(2)
►
August
(14)
►
July
(4)
►
June
(7)
►
May
(3)
►
April
(2)
►
March
(2)
►
February
(5)
►
January
(7)
Contributors
new
nobodycares
Links
Format Source Code for Blogs
GCC compiler errors