Checking when a file is closed means busting out strange applications like fuser or lsof. Why not just watch for when a newer one is created? Some silly pseudocode:
You could potentially make it much smarter, not needing to run ls repeatedly and all that, by knowing more about the pattern this thing creates logfiles in.
You could also use NFS or somesuch to have the server create the files on the other machine in the first place, instead of having to continuously watch and copy.
Hi,
I have a server which has SCO Openserver 6 on it and also kermit installed, unfortunately I can't seem to get kermit to send or receive files, is there another way I can use to transfer files remotely?
I only have remote access to the server via a dial up modem
Any comments/suggestions... (1 Reply)
HI
I need to write a script in 415univ server which should go to 534unix server and move the files from there to windows server.
I am not able to get it bcoz sftp prompt is not allowing ftp command.
Can some one plz help me
Thanks in advance (3 Replies)
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Hello All,
Server: SUSE Linux Enterprise Server 11.3 (x86_64)
Syslog-ng Version: syslog-ng 2.0.9
We have configured a Cisco router to send it's log messages to this server listed above. This has been working just perfectly
for the last couple months, but we had never setup the log... (9 Replies)
Hello,
I have a file, say details.txt on my windows machine. I want to copy it to linux machine through a shell script and edit the file and transfer the file back to windows machine. (All I want to do is to edit the file on windows machine from linux machine by a script.)
I have tried scp... (1 Reply)
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Hi,
I am working on an application which runs on an Informatica Red-Hat 5.10 Linux Server.
The application involves several Informatica ETL workflows which generate 100s of Text files with lot of data. Many of the files will each be up to 5 GB in size.
Currently the Informatica server itself... (7 Replies)
Hi,
I came across the scenario, that I need to copy files from the remote server to my local. The files in the remote server are created by another job and its keep on generating the files in that remote folder.
We can't able to use SCP command and we're using SFTP to connect the server and... (3 Replies)
Discussion started by: Janarthan
3 Replies
LEARN ABOUT DEBIAN
samidare
SAMIDARE(1) User Commands SAMIDARE(1)NAME
samidare - web page update checker
SYNOPSIS
samidare [OPTION]... [URL]...
DESCRIPTION
Samidare checks web page updates. It takes a list of URLs in a configuration file, config.yml, and checks last update time of them. A
HTML file, latest.html, is generated to show the updates.
OPTIONS --help show help message.
-v, --verbose
specify verbose mode.
-n, --no-check
don't check web. output generation only.
-f, --force
force check (avoid timing control mechanism)
-o, --output=filename
specify output html filename.
--output-lirs=filename
specify output lirs filename.
-T, --template=filename
specify template filename.
-t, --timing
show check time of pages.
--dump-config
dump flatten configuration.
--dump-status
dump status. If URLs is specified, the status of specified pages are shown.
--dump-template-data
dump data for expand template. The "data" variable in template file refer this.
--dump-filenames
dumps locally stored filenames of pages specified by URLs.
--dump-filenames2
dumps locally stored recent two filenames of pages specified by URLs.
--remove-entry
remove entry of pages specified by URLs.
--diff-content
show difference of recent two files of specified URLs.
USAGE
samidare is configured by "config.yml" and "t.latest.html" by default.
samidare generates "latest.html" and "sites.lirs.gz"
samidare uses "status.rm" and "tmp" to record status of pages.
"config.yml" is a configuration file in YAML format. See EXAMPLES section for its content.
"t.latest.html" is a template file. In the file, "data" variable can be used. See the document of htree library for template directives.
So you can run samidare as follows.
% cd $HOME
% mkdir samidare
% cd samidare
% vi config.yml
% vi t.latest.html # optional
% samidare
% w3m latest.html # view the result
If you want to publish the result, use symbolic link to latest.html and sites.lirs.gz as follows.
% mkdir public_html
% mkdir public_html/samidare
% cd public_html/samidare
% ln -s ../../samidare/latest.html .
% ln -s ../../samidare/sites.lirs.gz .
EXAMPLES
The configuration file is described in YAML format.
The simplest configuration is list of URLs as follows.
- http://www.example.org/blog/
- http://www.example.net/
FILES
"config.yml" and "t.latest.html" is configuration file.
"latest.html" and "sites.lirs.gz" is output.
"status.rm" and "tmp" is used by samidare internally.
SECURITY
samidare stores pages in tmp directory. If it is published via your web server, XSS (cross site scripting) is possible. So the directory
should not be published.
AUTHOR
Tanaka Akira
SEE ALSO
htree
samidare 0.7 July 2008 SAMIDARE(1)