Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Hi,
When i am tar the file particular ,csv file format in a folder i am receiving the error
Command:
tar cf New_data.tar /new/file/mari/getdata/small/*.xml
Arguements too long
But sometimes
i am able to compress other folder but the tar folder contains all the file format and... (10 Replies)
I am using tar command to append daily database backups on tape. "tar --append " command help me to do this.
But tar --append command does not produce any output on stdout if it succeed.
I want the output for that appended command to a log file.
This log file should contain only the name of the... (0 Replies)
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)
Hi all,
I want to check whether tar file exists in the directory or not. If tar file exists in the directory then I want to append the files to it.
I am using the below command to tar files if the file does not exist.
tar zcvf <tar file name> <Files to append>
However, if want to... (4 Replies)
I need to be able to take the results from ls -l command and modify the output as follows:
I will run
ls -l *.mak
My results will be
aa.mak
bb.mak
cc.mak
I then need to take those results and create a file that has the following info:
dsjj/ubin/aa
dsjj/ubin/bb
dsjj/ubin/cc
... (3 Replies)
hi gurus,
I'm executing some commands and I want to append both the command and output to a text file. Example:
echo "strings -a wicmex.o|grep '$Header'" >> tmp.txt
strings -a wicmex.o|grep '$Header' >> tmp.txt
echo "strings -a libwip.a|grep '$Header'" >> tmp.txt
strings -a libwip.a|grep... (1 Reply)
Hello Team,
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Hi all,
I have to write a script which will keep for a particular user (username is first argument) backups of the account area to another.
The script should accept as the second argument is a directory (or file), create one by storing a copy of the argument (using tar) and copies it to the list... (0 Replies)
Discussion started by: peter20
0 Replies
LEARN ABOUT DEBIAN
btape
BTAPE(8) Network backup, recovery and verification BTAPE(8)NAME
btape - Bacula's Tape interface test program
SYNOPSIS
btape [options] device-name
DESCRIPTION
This manual page documents briefly the btape command.
OPTIONS
A summary of options is included below.
-? Show summary of options and commands.
-b bootstrap
Specify a bootstrap file.
-c config
Specify configuration file.
-d nn Set debug level to nn.
-p Proceed inspite of I/O errors.
-t Open the default tape device.
-s No signals (for debugging).
-v Set verbose mode.
COMMANDS
autochanger
test autochanger
bsf backspace file
bsr backspace record
cap list device capabilities
clear clear tape errors
eod go to end of Bacula data for append
eom go to the physical end of medium
fill fill tape, write onto second volume
unfill read filled tape
fsf forward space a file
fsr forward space a record
help print this reference
label write a Bacula label to the tape
load load a tape
quit quit btape
rawfill
use write() to fill tape
readlabel
read and print the Bacula tape label
rectest
test record handling functions
rewind rewind the tape
scan read() tape block by block to EOT and report
scanblocks
Bacula read block by block to EOT and report
status print tape status
test General test Bacula tape functions
weof write an EOF on the tape
wr write a single Bacula block
rr read a single record
rb read a single bacula block
qfill quick fill command
SEE ALSO bscan(1), bextract(1).
AUTHOR
This manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>.
Kern Sibbald 26 November 2009 BTAPE(8)