07-20-2011
I need a script for this. Let me clear the things in detail.
I have a linux machine, where the file gets changing everyday (new files will be updated everyday). I want to copy the most latest file to the windows server.
I can use scp for this.
scp -r [/path/filename] [login name@ip address] : .
Here the filename gets changing everyday and I want to copy the files to a specific folder in Windows. How to do this using a script which automatically does this on a daily basis???
Seek ur help to solve this..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can anyone tell me how can i copy data in LINUX Machine to windows XP
Thanks,
Sandeep (2 Replies)
Discussion started by: bsandeep_80
2 Replies
2. UNIX for Dummies Questions & Answers
Hi I need to copy a file from the remote unix server to windows machine.
I read lot of thrad but didn't worked out.
Requesting all to please help. (2 Replies)
Discussion started by: sameerspice
2 Replies
3. Solaris
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies
4. Shell Programming and Scripting
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies
5. Red Hat
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am very unfamiliar with linux/unix (don't even know the difference), but am trying to get some linux software to run on my Windows machine for my research. I have the makefiles for the software, and it is designed to be compiled in the PGI complier, which I also have. When i... (6 Replies)
Discussion started by: roba87
6 Replies
7. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
8. Shell Programming and Scripting
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies
9. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
LEARN ABOUT DEBIAN
backupninja.conf
BACKUPNINJA.CONF(5) backupninja package BACKUPNINJA.CONF(5)
NAME
BACKUPNINJA.CONF - Configuration file(s) for backupninja (1).
SYNOPSIS
/etc/backupninja.conf
DESCRIPTION
backupninja.conf is the general configuration file. In this file you can set the log level and change the default directory locations. You
can force a different general configuration file with "backupninja -f /path/to/conf".
OPTIONS
loglevel
How verbose to make the logs.
5 = Debugging messages
4 = Informational messages
3 = Warnings
2 = Errors
1 = Fatal errors
reportemail
Send a summary of the backup status to this email address
reportsuccess
If set to 'yes', a report email will be generated even if all modules reported success.
reportwarning
If set to 'yes', a report email will be generated even if there was no error.
logfile
The path of the logfile.
configdirectory
The directory where all the backup action configuration files live.
scriptdirectory
Where backupninja handler scripts are found
usecolors
If set to 'yes', use colors in the log file and debug output.
when When to process each configuration file. The value used here will be applied for each configuration file. It is possibile to over-
ride this "when" in each each configuration file, see also section "Scheduling" in backup.d(5).
For example:
when = sundays at 02:00
when = 30th at 22
when = 30 at 22:00
when = everyday at 01 <-- the default
when = Tuesday at 05:00
These values for 'when' are equivalent:
when = tuesday at 05:30
when = TUESDAYS at 05
These values for 'when' are invalid:
when = tuesday at 2am
when = tuesday at 2
when = tues at 02
vservers
If you are using Linux-Vservers (http://linux-vserver.org), there are some special capabilities that different handlers have to make
vserver backups easier. See the example configuration files for each handler to configure the vserver specific variables.
DEFAULTS
loglevel = 4
reportemail = root
reportsuccess = yes
reportwarning = yes
logfile = /var/log/backupninja.log
configdirectory = /etc/backup.d
scriptdirectory = /usr/share/backupninja
usecolors = yes
when = everyday at 01:00
vservers = no
SEE ALSO
backupninja(1), ninjahelper(1), backup.d(5),
AUTHOR
BACKUPNINJA was written by the riseup.net collective.
riseup November 19, 2005 BACKUPNINJA.CONF(5)