Editing
Scanco Administration
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Zip=== ====Zip and Unzip files==== Use the zip program to add files to a zip archive. Make sure you are using version 3 if you want to Zip files greater than 2GB (contact Scanco to install v3 if necessary). <pre> $ ZIP myzip.zip myfile.txt;1 !Adds myfile.txt to myzip.zip. $ ZIP "-V" myzip.zip myfile.txt;1 !Adds myfile.txt;1 to myzip.zip. The "-V" maintains the OpenVMS version number. $ ZIP "-V" myzip.zip [.subdir...]*.*;* !Adds all files within subdir to myzip.zip, maintaining their version number. $ ZIP !Displays the help for the zip command. </pre> Use the unzip program to unzip an archive. <pre> $ UNZIP "-V" myzip.zip !Extracts myzip.zip, maintaining the OpenVMS structure. $ UNZIP !Displays the help for the unzip command. </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====Transfer Zip between Scanco systems==== Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise. To transfer files from system A to B, do the following. On system A: <pre> $ zip "-V" for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT ! for each filename $ zip "-V" for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT </pre> This will add both files to the same zip file. Note: "-V" is very important, it must be capital V! Transfer the file by e-mail, or by ftp. On system B: <pre> $ unzip -j for_calgary.zip ! to unzip on your end them (-j to 'junk' the original file path) </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====Unpack Zip sent by Scanco==== In the .zip file, you'll find a .sav file. Unzip the .zip just by saying <pre>$ unzip xxxx.zip</pre> Then: <pre>$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]</pre> and it will unpack everything into <code>disk3:[steve.devel.temp]</code> Or: <pre>$ backup/list xxxx.sav/sav</pre> and you see what's in the .sav. Then: <pre>$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]</pre> and it will create the same directory tree in <code>steve.devel.cipl</code> as it was when I packed it into the .sav. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====Tips for making and unpacking SAVSETS==== Separate all "input" files with comma, and no space in between (space separated parameters) : <pre> $ backup/log D0014097.RAD,D0014097.SCV myfiles.sav/sav </pre> You may want to consider to only take the newest/highest file version: <pre> $ backup/log D0014097.RAD;,D0014097.SCV; myfiles.sav/sav </pre> When unpacking a SAVSET, if you want the directory structure to be maintained, do something like this: <pre> $ BACKUP/LOG ACKNEE_HUMAN_2020-02-18.SAV/SAV/SELECT=([BONELAB.PROJECTS.ACKNEE...]*.*) DISK4:[BONELAB.PROJECTS.ACKNEE...] </pre> Extracting an archived SAVESET back onto the VMS system in location different from where it was originally located, for example putting it on DISK7:[XTREMECT2.EXTERNAL] instead of DISK4:[BONELAB.PROJECTS], do the following: <pre> $ SET FILE/ATTR=(RFM=FIX,LRL=32256) UBC_HUMAN_2024-03-25.SAV $ BACKUP/LOG UBC_HUMAN_2024-03-25.SAV/SAV/SELECT=([BONELAB.PROJECTS.UBC...]*.*) DISK7:[XTREMECT2.EXTERNAL.UBC...] </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']]
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information