I have thousands of files whose names are of the form:
sequence_1_0001.hmf
sequence_1_0002.hmf
sequence_1_0003.hmf
...
sequence_1_0001.jpg
sequence_1_0002.jpg
sequence_1_0003.jpg
...
sequence_2_0001.hmf
sequence_2_0002.hmf
sequence_2_0003.hmf
...
etc..
I'm using sftp to transfer only the files whose suffix and prefix are 'sequence_1' and '.hmf', respectively. However, I don't want to transfer all the files that match this format. Instead, I want to transfer every hundreth file. That is:
sequence_2_0001.hmf
sequence_2_0101.hmf
sequence_2_0201.hmf
...
Is there a way to do this?
.hmfand the wrongsequence_prefix. – jw013 Apr 26 '12 at 14:32