07-30-2008
Clarification...
No, it's a real-world problem
It's just written out like a homework assignment because i've done enough technical work to know that when you ask for help, clarity is king.
I'm working on an interface that gets daily xml exports from an ftp site and synchronizes them with Siebel CRM. I've got Oracle Fusion Middleware to:
A) transfer files from the FTP site to an /exports folder
C) route files from a /staging folder to an Siebel inbound web service.
But I need a Step B) to meter out the appropriate files from /exports to /staging in the right order (first in, first out). I'm trying to do this with shell scripting but this is a bit outside my expertise, as you can tell...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi:-
I need help with a script I need to modify: - what's the best/easiest way to find out the oldest file in a directory and then move this file to another directory?
Thanks, (5 Replies)
Discussion started by: janet
5 Replies
2. Shell Programming and Scripting
Hi all,
I am a newbie to scripting and I need your help regarding finding the oldest file in a particular directory. My intention is to remove that oldest file.
Are there any options available with the "find" command to do this..
Thanks in advance for your help
Pavan (4 Replies)
Discussion started by: pavan_movva
4 Replies
3. UNIX and Linux Applications
I am trying to determine the oldest and most recent files in a huge directory. I am using an ls -tr statement outside my find statement. The directory is too big and I am getting an "arg list too long" error. Is there something I can put in my find statement that doesn't create a list to... (2 Replies)
Discussion started by: hiyofjord
2 Replies
4. Shell Programming and Scripting
Hi ,
Please help with the following questions
1) how can i find size of a file ? i have written du -k $flname > s1 . Is this right ?
Any other better suggeastions ?
2) how do I use mv command for moving the file ? I need the syntax with some examples
3) Command for printing the total... (1 Reply)
Discussion started by: Learning!
1 Replies
5. Shell Programming and Scripting
I'm still up trying to figure this out and it is driving me nuts.
I have a log file which has a basic format of this...
2010-10-10 22:25:42
Init block 'UA Deployment Date': Dynamic refresh of repository scope variables has failed.
The ODBC function has returned an error. The database... (4 Replies)
Discussion started by: k1ko
4 Replies
6. Shell Programming and Scripting
Hello,
I have lots of sequentially numbered files which make up an image sequence.
I'm trying to do two things with it:
#1: Find gaps in the sequence and move each range of sequencial files into their own subfolder.
#2: Designate a starting point (file) and move every 24th file into... (4 Replies)
Discussion started by: ex_H
4 Replies
7. Shell Programming and Scripting
Hi
I have some files in directory and the names of files are like
jnhld_15233_2010-11-23
jnhld_15233_2007-10-01
jnhld_15233_2001-05-04
jnhld_15233_2011-11-11
jnhld_15233_2005-06-07
jnhld_15233_2000-04-01
..etc
How can i sort these files based on the date in the file name so that ... (4 Replies)
Discussion started by: morbid_angel
4 Replies
8. Shell Programming and Scripting
Hi,
I have two types of file names
filename1_12345 or filename1-12345 at the same time I have second type
filename2-12345 in a txt file.
I am trying to write awk script that will sort these names with below pattern
ALL file names like
filename1_12345 and filename1-12345 will go to... (1 Reply)
Discussion started by: rider29
1 Replies
9. Shell Programming and Scripting
Hi
I am want to create a script where the file gets moved from the current folder to a folder transfer based on the oldest first. This script should run one file at a time using a loop. I want it as a loop because I want to do some processing while I have one file. Can anyone guide me on this? (2 Replies)
Discussion started by: chamajid
2 Replies
10. Shell Programming and Scripting
I have a dilemma, we have users who are copying files to "directory 1." These images have file names which include the year it was taken. I need to put together a script to do the following:
Examine the file naming convention, ensuring it's the proper format (e.g. test-1983_filename-123.tif)... (8 Replies)
Discussion started by: Nvizn
8 Replies
LEARN ABOUT OPENDARWIN
mountd
MOUNTD(8) BSD System Manager's Manual MOUNTD(8)
NAME
mountd -- service remote NFS mount requests
SYNOPSIS
/sbin/mountd [-nr] [exportsfile]
DESCRIPTION
Mountd is the server for NFS mount requests from other client machines. Mountd listens for service requests at the port indicated in the NFS
server specification; see Network File System Protocol Specification, RFC1094, Appendix A and NFS: Network File System Version 3 Protocol
Specification, Appendix I.
Options and operands available for mountd:
-n The -n option allows non-root mount requests to be served. This should only be specified if there are clients such as PC's, that
require it.
-r The -r option allows mount RPCs requests for regular files to be served. Although this seems to violate the mount protocol specifi-
cation, some diskless workstations do mount requests for their swapfiles and expect them to be regular files. Since a regular file
cannot be specified in /etc/exports, the entire file system in which the swapfiles resides will have to be exported with the -alldirs
flag.
exportsfile
The exportsfile argument specifies an alternate location for the exports file.
When mountd is started, it loads the export host addresses and options into the kernel using the mount(2) system call. After changing the
exports file, a hangup signal should be sent to the mountd daemon to get it to reload the export information. After sending the SIGHUP (kill
-s HUP `cat /var/run/mountd.pid`), check the syslog output to see if mountd logged any parsing errors in the exports file.
FILES
/etc/exports the list of exported filesystems
/var/run/mountd.pid the pid of the currently running mountd
SEE ALSO
nfsstat(1), exports(5), nfsd(8), portmap(8), showmount(8)
HISTORY
The mountd utility first appeared in 4.4BSD.
BSD
April 28, 1995 BSD