I have written generic script to transfer files from one machine to other machine(By passing the command line arguments like server name, user name ,location of the files, file names etc) but
when i am using sftp, what are the things I have to specify in the code
Is it necessary to specify... (0 Replies)
Hi everybody,
I just want to transfer files with FTP (mget and mput). The problem is that I dont want to overwrite any existing files and don't want to transfer them again (e.g. using the rename-function). So I only want to transfer new files with mget and mput.
My first idea was to create... (3 Replies)
Hi,
I am new to scripting, I need to write a script to transfer .TXT files from Server A (ftp) to Server B. Once the files in server B i need to transfer it to server C (sftp). (not transfer of files directly from server A to Server C )
Thanks!
Regards
Sendhil
---------- Post updated at... (3 Replies)
Hi guys ,
how are you doing?
I am tryng to make a script using cp that i would like to do this:
echo "Enter the name files to tranfer"
then user has to enter via keyboard this kind of output
file1 file 2 file 3 file x
(i mean the number of the files could vary and their name too)... (1 Reply)
Hi All,
I want to make a script in which I want to transfer files from current server to another.
The problem is that I don't have xcom installed on this so I was thinking of using scp command.
The code I've written till now is -
# Transferring latest inactive log file to another server... (16 Replies)
I am new to Shell Scripting and need some help.
The following batch job has been failing for me due to the .nfsxxx files in use. I need to know how to modify the following script to exclude the .nfsxxx files so this batch job will not fail on me. I have done lots of googling and keep coming back... (2 Replies)
Hi All
Please can you help, I´ve wrote the following script on a solaris 10 server to transfer files to a windows machine.
#!/usr/bin/sh
cd /moneta_polled01/download
HOST=10.100.4.72
USER=user1
PASSWD=V7stop
/usr/bin/ftp -v $HOST <<EOF
user $USER $PASSWD
cd tmp
binary
put... (7 Replies)
Hi
I have the following script:
#!/bin/sh
set -x
touch -mt 201210040000 /tmp/ref1
touch -mt 201210042359 /tmp/ref2
find /fs1/bscsrtx/BSCS_ix/WORK/LOG -type f \( -newer /tmp/ref1 -a ! -newer /tmp/ref2 \) > file_lst
scp $(< file_lst) root@10.100.48.76:/ano2005/fs1_2015/LOG/
but somehow its... (7 Replies)
Hello to all,
I want to copy from one server to another files of last 24 hours with size between 500MB and 2GB. The code below searches last files in 24 hours.
find . -mtime -1
In order to copy faster I'd like to compress the files before copying them.
How to automate the process of... (8 Replies)
Hi
Please can you tell me what could be wrong with the following scriptto transfer files from solaris 10 to windows machine:
#!/bin/sh
HOST=<IP>
USER=administrator
PASSWD=xyz123zyx
/usr/bin/ftp -inv <<EOF
connect $HOST
user $USER $PASSWD
cd Documents
binary
mput *.sh
bye
EOF (23 Replies)
Discussion started by: fretagi
23 Replies
LEARN ABOUT DEBIAN
dkopp
DKOPP(1) Dkopp man page DKOPP(1)NAME
Dkopp - copy files to DVD or BD (Blue-ray) media
SYNOPSIS
dkopp [ -job | -run ] jobfile
dkopp [ -nogui ] -script scriptfile
DESCRIPTION
Dkopp copies files to backup DVD or BD media. It supports full
or incremental backups and full or incremental media verification.
OVERVIEW
Dkopp is a menu-driven GUI (GTK) program operating in its own window.
Dkopp copies files and directories specified in a job file to DVD or
BD media. Dkopp can copy all files to empty media (full copy), or
only new and modified files to previously used media (incremental).
Files and directories to include or exclude can be selected from the
file system hierarchy using a GUI navigator. Specifications are saved
in a job file which can be re-edited and re-used. Script files can
be run in batch mode using the -nogui option. Dkopp can be used to
select and restore files previously copied, and owner and permission
data is also restored. The DVD/BD media can also be accessed with
file system tools like Nautilus.
Dkopp supports the following functionalities:
- Three backup modes: full, incremental, accumulate.
- Three media verification modes: full, incremental, thorough.
- Use write-once or re-writable DVD or BD media (but not CD).
- Report disk:backup differences in detail or summary form.
- Select and restore files from a backup copy (or use drag and drop).
- Search log files to find media where specified files are saved.
OPTIONS
Command line options:
[ -job ] jobfile open job file for editing
-run jobfile execute a job file
[ -nogui ] -script scriptfile execute a script file
SEE ALSO
The online user manual is available using the menu Help > contents.
This manual explains Dkopp operation in great detail.
Dkopp uses the batch programs grwoisofs and genisoimage.
Dkopp is essentially a GUI front-end for these programs.
AUTHORS
Written by Mike Cornelison <kornelix2@googlemail.com>
Linux 2010-10-01 DKOPP(1)