vmsprep - VMS tape preperation aid
vmsprep [-] [name ...]
Vmsprep traverses hierarchies of files and prepares them for transportation to VMS. Since ANSI stardard tapes (the VMS standard) do not
allow hierarchy, this program provides a method of flattening the hierarchy onto a tape in such a way that it can be unpacked on VMS to
recreate the same tree structure.
For reasons best not described here, vmsprep will attempt to exclude all RCS and SCCS archives by ignoring all files or directories named
'RCS' or 'SCCS', or files starting with 's.' or ending in ',v'.
The output of vmsprep is a pair of files vmsprep.namelist and UNPACK.COM. vmsprep.namelist is a list of files to be placed on the tape in
the format required by ansitape. If the first argument is '-' instead of a file or directory name, vmsprep will instead send the namelist
to standard output, and place UNPACK.COM in /tmp to avoid attempting to write in the current directory. All of the files except UNPACK.COM
will be placed on the tape under cryptic names. UNPACK.COM is a VMS command script which will recreate all of the necessary directories
and then move the cryptically named files to their proper place.
A typical sequence would be:
vmsprep - tree1 tree2 file | ansitape cln trees -
Then on a VMS machine
mount MFA0: trees
copy MFA0:*.*.* *
A warning is reported if a file or directory name contains a character not permitted in VMS names. The offending character is replaced by
'Z' and vmsprep continues.
Extra periods in file names may not be dealt with optimally.
All files and directories to be moved must be descendants of the current working directory. Absolute path names and paths containing ".."
will produce unpredictable results.
Since vmsprep uses find(1) internally, it does not follow symbolic links.
The exclusion of RCS and SCCS files should be controlled by a command line flag.
Assumes VMS v4.0 or greater for long file names.
4/10/85 UCB Local VMSPREP(LOCAL)
Check Out this Related Man Page
GIT-UNPACK-OBJECTS(1) Git Manual GIT-UNPACK-OBJECTS(1)NAME
git-unpack-objects - Unpack objects from a packed archive
git unpack-objects [-n] [-q] [-r] [--strict] <pack-file
Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in
"loose" (one object per file) format.
Objects that already exist in the repository will not be unpacked from the pack-file. Therefore, nothing will be unpacked if you use this
command on a pack-file that exists within the target repository.
See git-repack(1) for options to generate new packs and replace existing ones.
Dry run. Check the pack file without actually unpacking the objects.
The command usually shows percentage progress. This flag suppresses it.
When unpacking a corrupt packfile, the command dies at the first corruption. This flag tells it to keep going and make the best effort
to recover as many objects as possible.
Don't write objects with broken content or links.
Part of the git(1) suite
Git 22.214.171.124 11/24/2012 GIT-UNPACK-OBJECTS(1)
Hope someone can help here.....
I'm looking for some websites with info on VAX/VMS. I've tried google, yahoo and other search engines, but to no avail.
Am I looking in the correct place?? :confused: (5 Replies)
I am writing a C program under UNIX which needs to write out a VMS quadword time for the current time (to a file)
This quadword is the number of 100 nanoseconds since 1858.
I know I can easily get the time in secs since 1970 in UNIX/C.
The problem is how to multiply by a rather large number... (2 Replies)
I am new to UNIX and I am more used to simple commands like those in VMS.
One of them is the ability to get the output from a job using the /out=<file> command in VMS.
I want to submit a job (a set of unix commands) using the AT command but to get the output in a file like that used in... (4 Replies)
The second disk that I'm trying to make bootable is to hold another version of Solaris (9).
I've created the partitions with format and labeled the disk - created the filesystems with newfs - created and mounted the directories.
...but I think I've missed something out like using fdisk to... (16 Replies)
i would like to be able to find the names of all files on a remote machine using ssh.
i only want the names of files, not directories
so far i'm stuck at "du -a | sort -n"
also, is it possible to write them to a file on my machine? i know how to write it to a file on that... (2 Replies)
I have a folder that has about 100 directories. They all have different names. I need to do a find and copy of only directories (and their files) that start with ABC.
There are directory names as ABCDE,ABCDG,ABCHT and so on.
I tried using the AB* but that doesn't work. Can someone... (4 Replies)
Sun Solaris Unix Question
Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Here is my problem:
I try to write a script to find data in a file named "data" for exemple.
Let's say I am in the directory /x/y/z, there are several sub-directories in the "z" directory (each sub-directory has a file "data") and I am searching for the word "help".
So I use this... (9 Replies)
I am facing 2 problems while writing a script
1) I have a flat file and I want to captur specific information from it.
I have this string in the file
PACK: P42 77 UNPACK: MHTT DMK
I want to capture whatever is between word PACK: and word UNPACK: including... (8 Replies)
My server got messed up and the names of my files were not completely processed. As results I ended up getting a bunch of files with the following names:
I need to remove the underscore and everything before it. Thus, the files will be renamed to something like this:
Any help will be greatly... (3 Replies)
My task is to copy all files from many directories in one. The big problem i encounter is that some files in different directory have the same names. Is they are way to copy the files that have same names in a sub directory ( need to preserve the name of the files unchanged )
I have list with... (6 Replies)
I'm attempting to write a script that will look into a directory, discover all unique names, create directories for their prefix names and place the files inside. I do this now one by one with a simple script but I'd like to automate the process.
The directory would contain something like: ... (6 Replies)
I will like to print continues names according to a range of numbers
I would like to get the following result
tape1000 tape1001 tape 1002 tape1003 tape1004 tape1005.
Thanks for your support. (4 Replies)