01-04-2006
Thanks for that. could you just explain in the script what (($#)) does.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I would like to append list of files to already taken tar backup
file. can anybody help?
last month backup :
cd /accounts/11
tar -cvf monthback.tar *
Now I want to add /accounts/12 to monthback.tar
is it possible?
Krishna (1 Reply)
Discussion started by: krishna
1 Replies
2. Filesystems, Disks and Memory
Hi all & anyone.
I'm trying to selectively backup up some old Apache log files before they are removed from the system (Slackware box).
Have created a file listing of what I want backed up ...Below is a portion of the file ./selectedbkup... (2 Replies)
Discussion started by: Cameron
2 Replies
3. UNIX for Dummies Questions & Answers
I am trying to do a full system backup using tar. It then after maybe 12 or so hours comes up with tar: write error: unexpected EOF. I have thoroughly cleaned the drive and tried to use a different drive but it still gives me this error. Can someone help. I am on solaris 8. (1 Reply)
Discussion started by: TMashie
1 Replies
4. Shell Programming and Scripting
Hello everyone!
I'm trying to make incremental tar archives of a folder for an example. On the box I use is UNIX AIX installed. I tried some sample codes I found on several web pages but with no success. Don't know what I'm doing wrong. Please write some sample code to make incremental tar... (0 Replies)
Discussion started by: Funky_ass
0 Replies
5. Red Hat
Hi all,
i need to backup files on network from RHEL 4 machine
tape drive is installed on solaris 10 machine and want ot use this
using
# tar cv /myfiles |ssh -l myuser myhost 'buffer -o /dev/rmt/0 "
to backup these file but getting getting error " sh buffer not found '
even "buffer-1.19-1"... (2 Replies)
Discussion started by: ajays
2 Replies
6. UNIX for Dummies Questions & Answers
Hi friends,
I am planning to backup my Solaris Servers to SAN storage using tar.
Also palnning to automate the job using Crontab.
Can anyone advise how to make the date change automatically everyday for backup.
Pls correct me if I am wrong. Thanks (7 Replies)
Discussion started by: solaris5.10
7 Replies
7. Filesystems, Disks and Memory
Hi all
i'm looking for good advice regarding backup plan becuase its first time to me handle large scale database expected to grow up 10000 - 20000 record per year with daily operations on it
I'm working as sysAdmin in educational organization ( junior level ) with mixed OSes environment... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
8. UNIX for Dummies Questions & Answers
I am backing up some data to an NTFS formatted backup drive. I have to preserve the Unix permissions of the data being backed up and therfore use backup into a tar file.
I would like to backup the differnential data in the tar file similiar to how Rsync works so as to save on backup time as it... (1 Reply)
Discussion started by: jelloir
1 Replies
9. Red Hat
This will be covered elsewhere im sure but i just cant seem to find my exact issue.
I want to backup my systems using tar, command is:
tar -cjpf /backup /bin /etc /home /opt /root /sbin /usr /var /bootWhen i include the / directory it also tar's the /lib /sys /proc /dev filesystems too (and... (8 Replies)
Discussion started by: Tommyk
8 Replies
10. UNIX for Advanced & Expert Users
Hi,
Not sure whether this is the right place to post it. I decided to post it here 'coz Advanced and Expert users will most likely have the answer to what I am looking for.
I want to backup scripts that I have access to to a tar file file and zip it. At the moment I am creating a directory... (4 Replies)
Discussion started by: newbie_01
4 Replies
diction(1) General Commands Manual diction(1)
NAME
diction, explain, suggest - Prints wordy sentences and looks them up in an interactive thesaurus.
SYNOPSIS
diction [-fpattern_file] [-k] [-ma] [-me] [-ml] [-ms] [-n] [file...]
explain
suggest
The diction command finds all sentences in an English language document that contain phrases from a database of bad or wordy diction. The
explain command is an interactive thesaurus for the English language phrases found by the diction command and only for those phrases.
The diction command reads from standard in if no file operand is provided.
The suggest command is a synonym for explain.
OPTIONS
Names a user-created pattern file to be used in addition to the default file. Passes the -k option to the deroff command. The -k option
keeps blocks of text specified nroff by requests or macros; for example, the request. Passes the -ma option to deroff. The -ma option
interprets nroff man macros only. Overrides the default nroff -ms macro package. Causes deroff to skip lists; should be used if a docu-
ment contains many lists of nonsentences. Overrides the default nroff -ms macro package. Suppresses use of the default file (used with
-f). Only the user-created pattern file is used.
DESCRIPTION
Each phrase found by the diction command is enclosed in [ ] (brackets). Because diction runs deroff before looking at the text, include
formatting header files as part of the input.
Before using the explain command, use the diction command to obtain a list of poorly worded phrases. When you use the explain command, the
system prompts you for a phrase and responds with a grammatically acceptable alternative. You can continue typing phrases, or you can exit
by pressing the End-of-File key sequence.
The explain command can also take input redirected from a file. No other command line arguments are valid.
NOTES
Use of nonstandard formatting macros may cause incorrect sentence breaks. In particular, diction does not understand -me.
FILES
Default pattern file. Thesaurus used by the explain command.
SEE ALSO
Commands: deroff(1), nroff(1)
diction(1)