Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vmsprep(1) [bsd man page]


vmsprep - VMS tape preperation aid SYNOPSIS
vmsprep [-] [name ...] DESCRIPTION
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:*.*.* * @UNPACK FILES
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. SEE ALSO
ansitape(l) BUGS
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)

git-unpack-objects - Unpack objects from a packed archive SYNOPSIS
git unpack-objects [-n] [-q] [-r] [--strict] <pack-file DESCRIPTION
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. OPTIONS
-n Dry run. Check the pack file without actually unpacking the objects. -q The command usually shows percentage progress. This flag suppresses it. -r 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. --strict Don't write objects with broken content or links. GIT
Part of the git(1) suite Git 11/24/2012 GIT-UNPACK-OBJECTS(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

VMS ---- What sites can I visit to learn it????

please help, any VMS sites you know of to learn this operating system?? (3 Replies)
Discussion started by: TRUEST
3 Replies

2. UNIX for Dummies Questions & Answers

VAX/VMS anyone??

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)
Discussion started by: GandalfWhite
5 Replies

3. Programming

Outputting a VMS quadword time in UNIX

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)
Discussion started by: davebrown
2 Replies

4. UNIX for Dummies Questions & Answers

Last One Script Esay One...

write script that finds all of the files starting with your HOme directory that are directories and lists their names ans size. what command I should use...:D (4 Replies)
Discussion started by: LiTo
4 Replies

5. UNIX for Dummies Questions & Answers

How to output the results of the AT command - properly!

Hi, 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)
Discussion started by: SpanishPassion
4 Replies

6. Solaris

How to make a bootable disk?

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)
Discussion started by: pondlife
16 Replies

7. UNIX for Dummies Questions & Answers

finding largest files (not directories)?

hello all. 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)
Discussion started by: user19190989
2 Replies

8. Shell Programming and Scripting

Help with directory copy please

Hi, 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)
Discussion started by: bbbngowc
4 Replies

9. Shell Programming and Scripting

Searching for file names in a directory while ignoring certain file names

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)
Discussion started by: 2reperry
2 Replies

10. UNIX for Dummies Questions & Answers

command to find most recent file

Hi, 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)
Discussion started by: StephB
9 Replies

11. Shell Programming and Scripting

capturing info between words.

Dear Friends, I am facing 2 problems while writing a script 1) I have a flat file and I want to captur specific information from it. Example 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)
Discussion started by: anushree.a
8 Replies

12. UNIX for Dummies Questions & Answers

Deleting part of file names

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)
Discussion started by: Xterra
3 Replies

13. Shell Programming and Scripting

How to deal with replaced files?

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)
Discussion started by: gogok_bg
6 Replies

14. Shell Programming and Scripting

Discover unique names and organize

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)
Discussion started by: scribling
6 Replies

15. Shell Programming and Scripting

Print continues names

Gents, I will like to print continues names according to a range of numbers example first number 1000 last number 1005 I would like to get the following result tape1000 tape1001 tape 1002 tape1003 tape1004 tape1005. Thanks for your support. (4 Replies)
Discussion started by: jiam912
4 Replies

Featured Tech Videos