07-02-2008
this is maybe more a scripting thing... you can build checksums of all files on both machines and compare them...
thread moved from solaris to scripting.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine.
how can i do that and the application currently upon which i am working is a JAVA based application.
I need your help.
regards
Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies
3. Shell Programming and Scripting
Hi All,
I need to know if it is possible ftping files from unix box to windows box .
if yes , how ?. Is there any pre-requisits.
Please tell me the steps, this is very urgent.
Thnx
Aru (8 Replies)
Discussion started by: aarora_98
8 Replies
4. Shell Programming and Scripting
i have a unix script which is available in a box say box1
i want this script to be run in box box2
and put the output file in box2
what is the procedure to execute this script in box2
i will call the script in box1 using cybermation (1 Reply)
Discussion started by: trichyselva
1 Replies
5. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
6. Shell Programming and Scripting
Hi All,
I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies
7. UNIX for Dummies Questions & Answers
scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/
Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that......
Regards,
Ann (8 Replies)
Discussion started by: fabrine
8 Replies
9. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Folks,
I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials)
xxx -->username
yyy -->password
and another unix box name is
RRR -->username
TTT -->password
NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies
ARCHIVE(8) System Manager's Manual ARCHIVE(8)
NAME
archive - Usenet article archiver
SYNOPSIS
archive [ -a archive ] [ -f ] [ -i index ] [ -m ] [ -r ] [ input ]
DESCRIPTION
Archive makes copies of files specified on its standard input. It is normally run either as a channel feed under innd(8), or by a script
before expire(8) is run.
Archive reads the named input file, or standard input if no file is given. The input is taken as a set of lines. Blank lines and lines
starting with a number sign (``#'') are ignored. All other lines should specify the name of a file to archive. If a filename is not an
absolute pathname, it is taken to be relative to /var/spool/news.
Files are copied to a directory within the archive directory, /var/spool/news/news.archive. The default is to create a hierarchy that mim-
ics the input files; intermediate directories will be created as needed. For example, the input file comp/sources/unix/2211 (article 2211
in the newsgroup comp.sources.unix) will be copied to /var/spool/news/news.archive/comp/sources/unix/2211.
OPTIONS
-a archive
If the ``-a'' flag is used then its argument specifies the directory to archive in instead of the default.
-f If the ``-f'' flag is used, then all directory names will be flattened out, replacing the slashes with periods. In this case, the
file would be copied to /var/spool/news/news.archive/comp.sources.unix/2211.
-i If the ``-i'' flag is used, then archive will append one line to the specified index file for each article that it copies. This
line will contain the destination name and the Message-ID and Subject headers.
-m Files are copied by making a link. If that fails a new file is created. If the ``-m'' flag is used, then the file will be copied
to the destination, and the input file will be replaced with a symbolic link pointing to the new file.
-r By default, archive sets its standard error to /var/log/news/errlog. To suppress this redirection, use the ``-r'' flag.
EXIT STATUS
If the input is exhausted, archive will exit with a zero status. If an I/O error occures, it will try to spool its input, copying it to a
file. If there was no input filename, the standard input will be copied to /var/spool/news/out.going/archive and the program will exit.
If an input filename was given, a temporary file named input.bch (if input is an absolute pathname) or /var/spool/news/out.going/input.bch
(if the filename does not begin with a slash) is created. Once the input is copied, archive will try to rename this temporary file to be
the name of the input file, and then exit.
EXAMPLES
A typical newsfeeds(5) entry to archive most source newsgroups is as follows:
source-archive
:!*,*sources*,!*wanted*,!*.d
:Tc,Wn
:/usr/lib/news/bin/archive -f -i
/usr/spool/news/news.archive/INDEX
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 1.14, dated 1996/10/29.
SEE ALSO
newsfeeds(5).
ARCHIVE(8)