Sponsored Content
Full Discussion: BRU utility
Special Forums UNIX Desktop Questions & Answers BRU utility Post 37208 by RTM on Friday 13th of June 2003 05:40:59 PM
Old 06-13-2003
I doubt there are many IRIX or bru folks hitting this site, so I went searching. Found a man page for bru and read through it.

To extract what is on the tape, you would use the -x option.
To inspect the archive on the tape (before extracting it) you would use the -i option. I would also suggest you use the -vv option with it to show info from the header block.

To step through this, try the following

$ bru -ivvf /dev/nrtape

This will check that your archive is good. It's possible that it isn't (from the information you already posted) - a tape that is almost 10 years old may not be in pristine condition.

From this point on I'm assuming the tape is okay...
Next, see what is on the tape - this is important if you don't want to overwrite information already on disk.

$ bru -tvf /dev/nrtape

This will list everything on the tape. If the output looks something like this...

./mydir/myfile
./mydir/myotherfile

then you can get ready to extract the archive into a newly created directory or any directory you want.

If the output looks something like this...

/mydir/myfile
/mydir/myotherfile

then the archive will possibly overwrite files on your system. You should know if you are willing to do that.

Once you verify the information, a generic extract could be done.

$ cd /where_I_want_extract
$ bru -xvf /dev/nrtape
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What utility do I use for this?

I want to pull out the 3rd column of information and stick in a file. What is the Utility I use to do this? (8 Replies)
Discussion started by: James
8 Replies

2. Filesystems, Disks and Memory

bru command

I'm having trouble extracting files from a bru tape. The following are commands that I've tried and the respective outputs. will.rlee 224> bru -vgf /dev/nrtape label: created: Mon Nov 7 18:21:41 1994 device: freedom:/dev/mt/tps0d6 user: root group: ... (1 Reply)
Discussion started by: sherbet808
1 Replies

3. Programming

MAKE utility

I wrote a makefile, every thing is working fine, But One of the C header files which is created by me is kept in a different folder other than the current directory, I have given this PATH to VPATH Variable Example :- VPATH = /home/user1/projects/victor.h It gives an error as : file... (4 Replies)
Discussion started by: victorvvk
4 Replies

4. Shell Programming and Scripting

Tr utility to Encrypt

I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and... (1 Reply)
Discussion started by: frankthetank115
1 Replies

5. Filesystems, Disks and Memory

Problem with BRU

Hello, I need to restore a file that was backed up using BRU. For starters I need to know how to list the archive on my tape. I tried the following which is what the man page for BRU sugegsts: bru -xvf /dev/nst1 /violatio.sh I get the following error bru: warning - read error on first... (1 Reply)
Discussion started by: mojoman
1 Replies

6. Solaris

utility of solaris

hello sir, can anyone tell about untility in Solaris similiar untility as SMITY in AIX and SAM in HP (2 Replies)
Discussion started by: amarnathbasis8
2 Replies

7. Shell Programming and Scripting

utility

hi experts, Can you please help me out in removing delimiters with in double quotes from a CSV file. input: ===== a,"bnn,",dgd, "sagfh,dj",ad output ===== a,"bnn",dgd, "sagfhdj",ad there are so mnay fileds in a row and there are millions of rows. Thanks in an advance.... (6 Replies)
Discussion started by: subhendu81
6 Replies

8. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

9. UNIX for Dummies Questions & Answers

BRU -T option

Can someone give me an example how to use bru command line with the -T option? Thanks, (1 Reply)
Discussion started by: mojoman
1 Replies

10. OS X (Apple)

Using at utility on 10.8.2 not working

I am a beginner, trying to get basic background utilities like at and cron to work on mac os x. I am typing the following at the prompt: at now + 1 minute open -a textedit ^D nothing happens at the appointed time. What to change? (7 Replies)
Discussion started by: sakurashinken
7 Replies
FUNZIP(1L)																FUNZIP(1L)

NAME
funzip - filter for extracting from a ZIP archive in a pipe SYNOPSIS
funzip [-password] [input[.zip|.gz]] ARGUMENTS
[-password] Optional password to be used if ZIP archive is encrypted. Decryption may not be supported at some sites. See DESCRIPTION for more details. [input[.zip|.gz]] Optional input archive file specification. See DESCRIPTION for details. DESCRIPTION
funzip without a file argument acts as a filter; that is, it assumes that a ZIP archive (or a gzip'd(1) file) is being piped into standard input, and it extracts the first member from the archive to stdout. When stdin comes from a tty device, funzip assumes that this cannot be a stream of (binary) compressed data and shows a short help text, instead. If there is a file argument, then input is read from the speci- fied file instead of from stdin. A password for encrypted zip files can be specified on the command line (preceding the file name, if any) by prefixing the password with a dash. Note that this constitutes a security risk on many systems; currently running processes are often visible via simple commands (e.g., ps(1) under Unix), and command-line histories can be read. If the first entry of the zip file is encrypted and no password is specified on the command line, then the user is prompted for a password and the password is not echoed on the console. Given the limitation on single-member extraction, funzip is most useful in conjunction with a secondary archiver program such as tar(1). The following section includes an example illustrating this usage in the case of disk backups to tape. EXAMPLES
To use funzip to extract the first member file of the archive test.zip and to pipe it into more(1): funzip test.zip | more To use funzip to test the first member file of test.zip (any errors will be reported on standard error): funzip test.zip > /dev/null To use zip and funzip in place of compress(1) and zcat(1) (or gzip(1L) and gzcat(1L)) for tape backups: tar cf - . | zip -7 | dd of=/dev/nrst0 obs=8k dd if=/dev/nrst0 ibs=8k | funzip | tar xf - (where, for example, nrst0 is a SCSI tape drive). BUGS
When piping an encrypted file into more and allowing funzip to prompt for password, the terminal may sometimes be reset to a non-echo mode. This is apparently due to a race condition between the two programs; funzip changes the terminal mode to non-echo before more reads its state, and more then ``restores'' the terminal to this mode before exiting. To recover, run funzip on the same file but redirect to /dev/null rather than piping into more; after prompting again for the password, funzip will reset the terminal properly. There is presently no way to extract any member but the first from a ZIP archive. This would be useful in the case where a ZIP archive is included within another archive. In the case where the first member is a directory, funzip simply creates the directory and exits. The functionality of funzip should be incorporated into unzip itself (future release). SEE ALSO
gzip(1L), unzip(1L), unzipsfx(1L), zip(1L), zipcloak(1L), zipinfo(1L), zipnote(1L), zipsplit(1L) URL
The Info-ZIP home page is currently at http://www.info-zip.org/pub/infozip/ or ftp://ftp.info-zip.org/pub/infozip/ . AUTHOR
Mark Adler (Info-ZIP) Info-ZIP 20 April 2009 (v3.95) FUNZIP(1L)
All times are GMT -4. The time now is 12:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy