Assuming you have ssh-keys setup for password-less login between server A and server B you can use SFTP by creating batch files with the list of files to transfer:-
Code:
for file in /var/www/files/file1.txt /var/www/files/file1f.txt /var/www/files/file2g.txt
do
awk ' {
print "put " $0;
}' $file > sftp_batch.cntrl # creating batch file.
sftp -b sftp_batch.cntrl user@server_B # transferring using batch file
done
Im trying to transfers a file from one unix server to another , make some changes and then send it back to the original server. All this using modems.
I've been using "cu" and i can "get" the file but i can't "put" it. Besides I need to do this using a shell script. I can write a script to get... (4 Replies)
Hello Unix Gurus,
Help required from you.
My requirement is something like this
I want to create a concurrenct program in Oracle Applications using shell script to transfer files from Apps Server to destination FTP server.
I have created custom program, where I will extract all the... (4 Replies)
I need to transfer files from Windows to Hp-UX box with out any software(Filezilla ...., Fsecure file transfer)
Is it possible to transfer using command prompt ? (6 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 All,
I have generated public and private pair to avoid to enter password manually while sending files through sftp.
But still I am facing issues and every-time prompt asking enter password.
Below are steps I fallowed to make ssh connection between two servers.
1. Generated public and... (5 Replies)
Discussion started by: renukeswar
5 Replies
LEARN ABOUT DEBIAN
debbugsconfig
DEBBUGSCONFIG(8) System Manager's Manual DEBBUGSCONFIG(8)NAME
debbugsconfig - copy basic debbugs configuration files from templates
SYNOPSIS
debbugsconfig
DESCRIPTION
debbugsconfig will copy basic debbugs configuration files from templates if the files do not already exist, and will also create BTS user
documentation in HTML and text. It should be run on installation and whenever /etc/debbugs/config or /etc/debbugs/text are changed.
FILES
debbugsconfig creates the following template configuration files in $gConfigDir (/etc/debbugs by default):
config General debbugs configuration file.
text Longer messages output by debbugs.
Maintainers
Index of maintainers for each package. This will typically be automatically generated.
Maintainers.override
Manual overrides for the maintainer index.
pseudo-packages.description
Descriptions of any entries in the system's maintainer index that do not correspond to "real" packages. For example, the
Debian Project uses pseudo-packages for bugs against facilities such as the Debian web site, the mailing list archives, and
the bug tracking system itself.
sources
Index of source packages corresponding to each package. This may be used when several packages are produced from a single
source, in which case the bug tracking system will group them together with links in the web front-end.
debbugsconfig creates the following template state files in $gSpoolDir (/var/lib/debbugs/spool by default):
nextnumber
The file which records the tracking number that will be assigned to the next incoming bug report.
index.archive.realtime
Real-time index of archived bugs. Created empty.
index.db.realtime
Real-time index of non-archived bugs. Created empty.
debbugsconfig creates the following documents in $gWebDir (/var/lib/debbugs/www by default):
index.html
Main contents page.
Access.html, bug-log-access.txt
Description of how to access bug reports.
Reporting.html, bug-reporting.txt
Advice on reporting bugs.
server-control.html, bug-maint-mailcontrol.txt
Introduction to the bug control and manipulation mail server.
server-refcard.html, bug-mailserver-refcard.txt
Mail servers' reference card.
server-request.html, bug-log-mailserver.txt
Introduction to the bug system request server.
AUTHORS
debbugsconfig was originally written by Darren Benham and later rewritten by Josip Rodin. Colin Watson wrote this man page.
DEBBUGSCONFIG(8)