Script hit walltime before completing; creates files from an initial set of input files into output files with different suffix, eg.
file1.ext -> file1.oxt
(note, extensions given are arbitrary).
How do I move only the input files for which there already exist output files into a separate directory before re-running the initial script? Something like 'mv file only if basename(file).oxt exists'. Could do this is other languages, but my knowledge of Bash is extremely lacking here.
Thanks!
foo.exthow would I know to look for*.oxtrather than*.axt(or whatever)? Are these mappings stored somewhere?