This question already has an answer here:
- Move files in subdir to another dir 5 answers
I have several tar files (~270) which untar into the following separate directory structure:
00001.tar -> /00001/001/file1.ima
00002.tar -> /00002/001/file2.ima
. . .
00270.tar -> /00270/001/file270.ima
I wondered if there is a specifier in the untar command that would allow me to not only untar the files, but also move the files (file1.ima, file2.ima, . . . file217.ima) to a common directory.
Does anyone know how to do this? Sorry if this is a simple thing to do; I am pretty inexperienced in this (obviously).
Thanks hugely in advance for any help on this!