Does anyone have any pointers for listing sequences as a 'consolidated' form in OSX Terminal ?
I work with Nuke (The Foundry) on osx 10.7, but this sort of question is probably one that a lot of guys working with osx or linux workstations in vfx ask, I suppose.
Example : if I have a folder named '/Volumes/mydisk/render' that has one sequence of images, five TIFF files, I would type 'ls' in the '/render' directory and get
0001.tiff
0002.tiff
0003.tiff
0004.tiff
0005.tiff
but what I want to see is something like this :
0001-0005.tiff or [1-5].tiff
in the same way that I want to SEE files listed as so, I would also want to be able to delete 'rm', copy 'cp', or move 'mv', using the same sequence command.
Example : copy frame ranges from one directory to another
cp /Volumes/mydisk/render/[2-4].tiff /Volumes/disk2/folder
which would copy images 0002.tiff, 0003.tiff, 0004.tiff over to my example folder /Volumes/disk2/folder/
I think most of us understand why this is desirable, but I'm not finding anything on the intenet that's pointing me to any solutions....
anyone ?
When you have a single folder containing upwards of 50,000 images or more (tiff, dpx, exr etc) and you type 'ls' the Terminal leaves a lot to be desired... At the same time, opening a Finder window is always panic inducing, especially if you have to drag and drop a selection from one Finder window to another. It's fine if you've got, say 1000 images in your folder. But anything more and it can really become ball busting.
Thanks to anyone who may point me to the right direction !
I work with Nuke (The Foundry) on osx 10.7, but this sort of question is probably one that a lot of guys working with osx or linux workstations in vfx ask, I suppose.
Example : if I have a folder named '/Volumes/mydisk/render' that has one sequence of images, five TIFF files, I would type 'ls' in the '/render' directory and get
0001.tiff
0002.tiff
0003.tiff
0004.tiff
0005.tiff
but what I want to see is something like this :
0001-0005.tiff or [1-5].tiff
in the same way that I want to SEE files listed as so, I would also want to be able to delete 'rm', copy 'cp', or move 'mv', using the same sequence command.
Example : copy frame ranges from one directory to another
cp /Volumes/mydisk/render/[2-4].tiff /Volumes/disk2/folder
which would copy images 0002.tiff, 0003.tiff, 0004.tiff over to my example folder /Volumes/disk2/folder/
I think most of us understand why this is desirable, but I'm not finding anything on the intenet that's pointing me to any solutions....
anyone ?
When you have a single folder containing upwards of 50,000 images or more (tiff, dpx, exr etc) and you type 'ls' the Terminal leaves a lot to be desired... At the same time, opening a Finder window is always panic inducing, especially if you have to drag and drop a selection from one Finder window to another. It's fine if you've got, say 1000 images in your folder. But anything more and it can really become ball busting.
Thanks to anyone who may point me to the right direction !