01-19-2011
Loading files incrementaly
Hi
Am trying to sftp this way UnixBoxA----->UnixBoxB
My code will run on UnixBoxB, it will make a secure connection and pull the files from UnixBoxA. Apart from that I do not have any access on UnixBoxA
Now UnixBoxA will receive the files daily, the file format will be <name>_<batch_number>
I have a mechanism to store the latest batch_number of the file which was pulled last time.
I need help in finding out a way to pull the next set of files from UnixBoxA in incremental fashion.
Note that batch_number is always 1 up sequence
I need to identify the incremental files that came into UnixBoxA and pull them whenever my job runs on UnixBoxB
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do we change our default shell so it will be loaded everytime we login, automatically. i want to use bash instead of the ksh shell that is default. but it irritates me when i have to type it in everytime, just lazy but i´m sure its a simple way someone could tell me? (8 Replies)
Discussion started by: eeldivady
8 Replies
2. Programming
How can I measure CPU loading (like performance monitor in Windows OS). I use Solaris but I would like to write portable code.
Besides, I have to write programm to load CPU with known percent. How can I use CPU in 30% for example.
Thanks for any ideas. (6 Replies)
Discussion started by: serge
6 Replies
3. UNIX for Dummies Questions & Answers
When our SCO UNIXWARE 7.4 System starts up we receive the following log indicating that its not loading successfully.
I have pasted the txt file for review.
Can someone please help?
UX:S69inet: INFO:
The following commands ran from /etc/init.d/inetinits
This command will link the TCP/IP... (0 Replies)
Discussion started by: Yorgy
0 Replies
4. SuSE
Hi all,
I'm trying to install Open SUSE and after the installation it will not boot. At first I thought it could be something wrong with the setup so I re-installed. Then it would still fail on the boot. When trying to boot in safe mode these are the last few lines just before it just sits... (7 Replies)
Discussion started by: woofie
7 Replies
5. Shell Programming and Scripting
Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ...
thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
1 Replies
6. Shell Programming and Scripting
Hi,
Can anyonr please tell how to load a binary file through SQLLDR.
I have the structure of the binary file in a seperate lb file but I don't know how to feed it to the sqlldr. (0 Replies)
Discussion started by: snowline84
0 Replies
7. BSD
I tried FreeBSD VMimage on my VMWare based on XP, but I failed to load the GUI, orI don't know to load the GUI. Terminal is freely working over it. (5 Replies)
Discussion started by: budtuxy
5 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I'm bit confused with a script
Any help would be appreciated
I have a config file say config.cfg and iam loading config file in My_Script.sh..The script name is My_Script.sh.
My_Script.sh and config.cfg are in same directory...My_Script.sh is run on the crontab
50 01 * * * &&... (2 Replies)
Discussion started by: selvam
2 Replies
9. Shell Programming and Scripting
Hi,
I need to perform some validation steps on the files before I start loading them.
1. I need to check for the availabilty of the file in expected path with expected name.
2. I need to check If the file format is correct.
a. confirm if correct delimiter is used.
b.... (1 Reply)
Discussion started by: smileyreddy
1 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone,
I have a problem but I have never installed a separate OS before so my lingo and understanding may not be as good as some of you. I will try and explain my problem best I can. I am trying to instead of loading Windows 7 when my computer starts up, for it to start linux specifically... (2 Replies)
Discussion started by: markhow30
2 Replies
LEARN ABOUT DEBIAN
pull-debian-debdiff
PULL-DEBIAN-DEBDIFF(1) General Commands Manual PULL-DEBIAN-DEBDIFF(1)
NAME
pull-debian-debdiff - find, download, and generate a debdiff
SYNOPSIS
pull-debian-debdiff [options] <package> <version> [distance]
DESCRIPTION
pull-debian-debdiff attempts to find and download a specific version of a Debian package and its immediate parent to generate a debdiff.
OPTIONS
package
The source package to download and diff.
version
The most recent of the two versions you want to diff.
distance
If specified (default 1), the debdiff is against that many versions previous.
-h, --help
Display the usage instructions and exit.
-f, --fetch
Simply download the specified version and exit.
-d DEBIAN_MIRROR, --debian-mirror=DEBIAN_MIRROR
Use the specified mirror. Should be in the form http://ftp.debian.org/debian. If the package isn't found on this mirror,
pull-debian-source will fall back to the default mirror.
-s DEBSEC_MIRROR, --debsec-mirror=DEBSEC_MIRROR
Use the specified Debian security mirror. Should be in the form http://security.debian.org. If the package isn't found on this
mirror, pull-debian-source will fall back to the default mirror.
--no-conf
Do not read any configuration files, or configuration from environment variables.
ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to
those in configuration files.
CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific
variable takes precedence over the package-wide variable.
PULL_DEBIAN_DEBDIFF_DEBIAN_MIRROR, UBUNTUTOOLS_DEBIAN_MIRROR
The default value for --debian-mirror.
PULL_DEBIAN_DEBDIFF_DEBSEC_MIRROR, UBUNTUTOOLS_DEBSEC_MIRROR
The default value for --debsec-mirror.
SEE ALSO
debdiff(1), dget(1), pull-debian-source(1), ubuntu-dev-tools(5)
AUTHORS
pull-debian-debdiff was written by Stefano Rivera <stefanor@ubuntu.com>, a clone of a tool by Kees Cook <kees@ubuntu.com>.
This manual page was written by Stefano Rivera, based on the original by Andrew Starr-Bochicchio <a.starr.b@gmail.com>.
ubuntu-dev-tools December 2010 PULL-DEBIAN-DEBDIFF(1)