10-03-2005
i am not sure what the u means, but the n stands for NOrewind, so rewind your tape (mt -f /dev/rmt/2 rewind) and test it again. have a look at the mt man page
gP
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've searched the man page for an option for the ls command to print the number of files in a directory. I'm moving files and folders around and thought a count of files would be a quick way to determine if I was missed one somewhere. Some "unix's" shells do this I think... maybe linux...
... (4 Replies)
Discussion started by: jimmyc
4 Replies
2. UNIX for Dummies Questions & Answers
I noticed the other day that after i used the find command to search for some files, the computer listed them twice -- first with just the names of the files (meaning ./(then the individual file names), then with the directory name, followed by the file names (./directory name/file name). I was... (2 Replies)
Discussion started by: Straitsfan
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I am trying to find some files on a remote machine using the find command.
>ssh -q atukuri@remotehostname find /home/atukuri/ -name abc.txt
/home/atukuri/abc.txt
The above command works fine and lists the file, but if I want to do a long listing of files (ls -l) its not working . ... (2 Replies)
Discussion started by: atukuri
2 Replies
4. Red Hat
Hi all,
I need some help...
- I have two servers - serverA and serverB.
- ServerB has a tape drive
- I took a backup of some files on serverB on to tape drive on serverA.
- I used the following command:
serverB> tar cvfb - 20 ./<file> | ssh <serverA> 'dd of=/dev/nst0 bs=20b'
- I... (2 Replies)
Discussion started by: ahmerin
2 Replies
5. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
6. Solaris
Ok I am just going to explain what I am running step by step
sftp user@hostname
sftp > ls < when I run the command "ls" I get a long listing the old version,
on the new version I get a short listing
how can I change my new version to give me long listing by default (1 Reply)
Discussion started by: slufoot80
1 Replies
7. Solaris
Hi,
I am using solaris 10 OS.Please help me out with the commands needed in below two scenarios.
1)How to delete the existing files in the tar file.
suppose i have a main tarfile named application.tar and it contains a file called ingres.tar.
what is the command to remove ingres.tar... (2 Replies)
Discussion started by: muraliinfy04
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to list all files present in directory those contains one specific word but exclude other.
If possible suggest unix commands instead of script to do so.
e.g.
List all files name from directory which are having "PROMOTION" word but not "LEN_PROMOTION".
Thanks (4 Replies)
Discussion started by: gauravgautam135
4 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I would like to know couple of ways to list the content available in tar and gzipped file without extracting.
i.e., I would like to display the contents of test.tar.gz without extracting.
Note :: please suggest a command other that tar -ztvf (9 Replies)
Discussion started by: Girish19
9 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a main folder 'home'. Lets say there is a folder 'bin' under 'home'. I want to check the list of files under subdirectories present under the /bin directory created in the last 24 hours.
I am using the following find command under home/bin directory:
find . -mtime -1 -print
... (3 Replies)
Discussion started by: DJose
3 Replies
LEARN ABOUT DEBIAN
dds-dd
dds-dd(1) General Commands Manual dds-dd(1)
NAME
dds-dd - tool to read a dds device.
SYNOPSIS
dds-dd [ -f device ]
DESCRIPTION
dds-dd reads a dds tape devices (DAT). Every block is read and written to stdout. A tape with unknown block size or blocks of different
size can be read.
The default device is /dev/rmt0, which may be overridden with the environment variable TAPE, which in turn may be overridden with the
-f device option. The device must be a character special file.
OPTIONS
-f device
Device of the tape archive (default is /dev/rmt0). Must be a character special file connected to a dds tape device.
-V,--version
Print the version number of mt-dds to stderr and exit immediately.
--help print some screens of online help with examples through a pager and exit immediately.
EXAMPLES
Example: Read the tape and make a listing:
dds-dd | tar ft -
Example: Read the tape and make a listing:
dds-dd | cpio -it
ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/rmt0.
SEE ALSO
dds2tar(1), dds2index(1), mt(1), tar(1)
HISTORY
This program was created to use it in conjunction with dds2tar.
AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo
2.4 dds-dd(1)