Hi All,
My script has to find todays modified( less than 24 hrs) files & send it another server using SCP.
what I wrote is
find . -type f -mtime -1 | xargs ls -ltr ## to find today's files, but its giving my sh_history file also, I don't require this file at all.
scp... (4 Replies)
Hi Guys,
I am currently working on a script to find all the files that have not been accessed for the past 2 years. This, i guess has been discussed n number of times in this forum. Now, my requirement is to find all the files in the remote windows server. I have it mounted in unix.
I was... (1 Reply)
I need help writing java code that can connect to a remote unix server, and run a script on that server. I have scoured the internet, but I have been unable to find proper documentation on how this can be accomplished. Any help is appreciated thanks. (1 Reply)
Small query-
I want to do some operation on all the files older then today. Before I do that operation, i want to verify if the command works properly or not.
Surprisingly, the command below returns me file, which are created today -
find /mrk_archive/PG/ftp/incomming/gbs/2008 -type f... (2 Replies)
Hi,
I have an interesting problem. I cannot connect to a personal server I set up. What's interesting is that I can connect to it from the LAN using its non-local IP address. However, I cannot seem to connect to it from anywhere else.
Here's how my server is set up:
My entire home has a... (8 Replies)
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
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)
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Hi,
i need help on shell scripting.
Main intention of the script is
step 1: ssh to remote server
Step 2: cd /tmp in remote server
Step 3: in tmp i want to grep only files and directories which are in GB sizes
All the servers list file is - tmpsrv.txt
vi tmpsrv.txt
... (17 Replies)
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT DEBIAN
amcheckdump
AMCHECKDUMP(8) System Administration Commands AMCHECKDUMP(8)NAME
amcheckdump - check the results of an Amanda dump
SYNOPSIS
amcheckdump [--timestamp|-t timestamp] [--verbose] [-o configoption...] config
DESCRIPTION
Amcheckdump verifies Amanda dump images by reading them from storage volume(s) and verifying that the images can be parsed by the
appropriate application (if available). For example, a GNUTAR image is passed to GNU Tar for parsing, and any errors (e.g., corrupt or
missing data) are noted.
The application runs on the most recent dump or, if --timestamp is specified, on the most recent dump with that timestamp. Note that the
verification is local to the Amanda server; if the dump application is not available, or is configured differently on the server than on
the client, then the verification will most likely fail.
If a changer is available, it is used to load the required tapes. Otherwise, the application interactively requests the tapes.
See the "CONFIGURATION OVERRIDE" section in amanda(8) for information on the -o option.
EXAMPLE
# check the most recent dump
amcheckdump MYCONFIG
# check a specific dump from back in '78
amcheckdump MYCONFIG --timestamp 19780615
SEE ALSO amanda(8), amcheck(8)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Ian Turner <ian@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMCHECKDUMP(8)