Differences between revisions 2 and 3
Revision 2 as of 2015-06-12 10:50:20
Size: 1194
Editor: EricPalmer
Comment:
Revision 3 as of 2015-06-12 10:57:03
Size: 1644
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Makes EXPORT.b and the script EXPORT.TXT, [[map_coverage]] Makes EXPORT.B and the script EXPORT.TXT. If you notice, EXPORT.TXT will run the script EXPORT.B. The key thing you need to ensure is that LMRKLIST1.TXT only has the recently created landmarks. If it has older ones, then you might need to trim the top of the file. You should also ensure that there aren't any maplets or landmarks remaining in [[NEW_FILES]].
Line 8: Line 8:
This will create the directory NEW_FILES and populate it with copies of the newly created mapfiles and landmarks.
Line 32: Line 33:
       NEW_FILES_<bigmapName>.tar        new_<bigmapName>.tar
Line 41: Line 42:
~/bin/IMPORT /usr/local/bin/IMPORT
Line 60: Line 61:
Run these commands (copy into window) To clean up any old runs, use these commands (copy into window)

Export

We generate a script that will remove unneeded files and take the new landmarks and put them into a tar ball. Makes EXPORT.B and the script EXPORT.TXT. If you notice, EXPORT.TXT will run the script EXPORT.B. The key thing you need to ensure is that LMRKLIST1.TXT only has the recently created landmarks. If it has older ones, then you might need to trim the top of the file. You should also ensure that there aren't any maplets or landmarks remaining in NEW_FILES.

/usr/local/bin/EXPORT

This will create the directory NEW_FILES and populate it with copies of the newly created mapfiles and landmarks.

The script EXPORT.TXT is:

 cp LMRKLIST1.TXT NEW_FILES/LMRKLIST.TXT
 cd NEW_FILES/LMKFILES
 rm -f *.LMK
 cd ../..
 cd NEW_FILES/MAPFILES
 rm -f *.MAP
 cd ../..
 chmod +x EXPORT.b
 ./EXPORT.b
 tar -cf NEW_FILES.tar NEW_FILES
 rm -f LMRKLIST1.TXT

Run this script by

sh EXPORT.TXT

Change name of NEW_FILES.tar to something distinctive like

  • new_<bigmapName>.tar

and e-mail to me or put in dropbox.

Import

Untar to recover NEW_FILES directory, import

/usr/local/bin/IMPORT

cp NEWLIST.TXT make_script.in

For make_scriptF.seed use:

n
n
g
u
1
o
RECENT
n
1
q
END

To clean up any old runs, use these commands (copy into window)

sh rem_script.b
rm TESTFILES/*
rm TESTFILES1/*
~/bin/make_scriptF.e
./run_script.b &

(!) Type this from time to time to see how it is going, import.

~/bin/find_nofitT  (this didn't seem to work, but find_nofitP.e gave output that made sense)

Export_Import (last edited 2021-05-21 06:33:59 by DalyTerik)