Hi all, Huw was correct, there is potential to delete temp files that the script did not create that I had not considered. I've changed "rm temp* "$cif_file" 2> /dev/null" to "rm temp.mtz temp.pdb "$cif_file" 2> /dev/null"
Best, Donald On Jun 15, 2015, at 3:56 PM, Huw Jenkins <[email protected]> wrote: > >> On 15 Jun 2015, at 20:00, Donald Damian Raymond <[email protected]> wrote: >> >> Hi, >> >> I've written a bash script that does just what you want. > > and potentially deletes a lot of files it didn’t create... > > #cleanup > rm temp* "$cif_file" 2> /dev/null > > > > Huw > >
