batch file
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 397
ngbatch 1.0
ngbatch project is a newgroup/rmgroup batcher for INN. more>>
ngbatch project is a newsgroup/rmgroups batcher for INN.
SYNOPSIS
< ngbatch -n > < group > [ < flag > [ < creator > ] ]
< ngbatch -r > < group >
< ngbatch -e > [ < -D > ] [ < -w > < days > ] [ < -h > < days > ]
This program executes newgroup and rmgroup controls in a delayed way, to help against newgroup/rmgroup wars. The idea is that (a) rmgroups are remembered for some time, and (b) rmgroups get priority over newgroups, so that a newgroup will be ignored if a rmgroup for this group (from a trusted issuer) has already arrived. A newgroup is executed only after a wait period, in case it gets rmgrouped soon.
Each newgroup/rmgroup control message is written into a batch file. A cron job collects commands from this batch file and executes only those newgroups for which no rmgroup was received.
Setting Up
Change your control scripts for newgroup and rmgroup so that they call B< ngbatch > with the appropriate parameters instead of B< ctlinnd > (you probably should make that depend on hierarchies). Make sure that only trusted rmgroupers are active in the I< control.ctl > file.
Run < ngbatch -e > periodically from crontab.
OPTIONS
< -n > < group > [ < flag > [ < creator > ] ]
Batch up a newgroup control for < group >. < flag > defaults to "y", < creator > defaults to nothing.
< -r > < group >
Batch up and execute a rmgroup control for < group >.
< -e >
Execute a batch run: for all batched newgroup commands, check if the wait time has elapsed. If yes, execute the newgroup command only if no rmgroup for the same group was batched. Rewrite the batch file with the commands still to be remembered.
< -D >
Show the commands on standard output instead of executing < ctlinnd >.
< -w> < days >
Set the newgroup wait time to < days > (default 3).
< -h > < days >
Set the rmgroup remember time to < days > (default 30).
<<lessSYNOPSIS
< ngbatch -n > < group > [ < flag > [ < creator > ] ]
< ngbatch -r > < group >
< ngbatch -e > [ < -D > ] [ < -w > < days > ] [ < -h > < days > ]
This program executes newgroup and rmgroup controls in a delayed way, to help against newgroup/rmgroup wars. The idea is that (a) rmgroups are remembered for some time, and (b) rmgroups get priority over newgroups, so that a newgroup will be ignored if a rmgroup for this group (from a trusted issuer) has already arrived. A newgroup is executed only after a wait period, in case it gets rmgrouped soon.
Each newgroup/rmgroup control message is written into a batch file. A cron job collects commands from this batch file and executes only those newgroups for which no rmgroup was received.
Setting Up
Change your control scripts for newgroup and rmgroup so that they call B< ngbatch > with the appropriate parameters instead of B< ctlinnd > (you probably should make that depend on hierarchies). Make sure that only trusted rmgroupers are active in the I< control.ctl > file.
Run < ngbatch -e > periodically from crontab.
OPTIONS
< -n > < group > [ < flag > [ < creator > ] ]
Batch up a newgroup control for < group >. < flag > defaults to "y", < creator > defaults to nothing.
< -r > < group >
Batch up and execute a rmgroup control for < group >.
< -e >
Execute a batch run: for all batched newgroup commands, check if the wait time has elapsed. If yes, execute the newgroup command only if no rmgroup for the same group was batched. Rewrite the batch file with the commands still to be remembered.
< -D >
Show the commands on standard output instead of executing < ctlinnd >.
< -w> < days >
Set the newgroup wait time to < days > (default 3).
< -h > < days >
Set the rmgroup remember time to < days > (default 30).
Download (0.005MB)
Added: 2007-01-25 License: Public Domain Price:
1003 downloads
libbatch 1.5
libbatch implements typical batch process functions. more>>
libbatch implements typical batch process functions.
These functions include common SQL operations, functions for working with temp files, logging functions (with severity, priority, colors, and verbosity), functions that work with files and directories, and functions for using config files.
Installation:
1. untar
tar xfvz libbatch.tgz
2. Path
We can include libbatch in the same directory that have standard Python libraries. If we dont do that well have to include standout.py and libbatch.py in the same directory that we have the programs that use them
3. libbatch.cfg
libbatch searches for libbatch.cfg in order at the folowing paths:
$HOME/etc/libbatch.cfg
/etc/libbatch.cfg
/etc/AutoCodeGenerator/libbatch.cfg
<<lessThese functions include common SQL operations, functions for working with temp files, logging functions (with severity, priority, colors, and verbosity), functions that work with files and directories, and functions for using config files.
Installation:
1. untar
tar xfvz libbatch.tgz
2. Path
We can include libbatch in the same directory that have standard Python libraries. If we dont do that well have to include standout.py and libbatch.py in the same directory that we have the programs that use them
3. libbatch.cfg
libbatch searches for libbatch.cfg in order at the folowing paths:
$HOME/etc/libbatch.cfg
/etc/libbatch.cfg
/etc/AutoCodeGenerator/libbatch.cfg
Download (0.017MB)
Added: 2005-09-29 License: GPL (GNU General Public License) Price:
1485 downloads
Batch Download 1.1.4
Batch Download is a plugin for Firefox that makes downloading multiple images easy. more>>
Batch Download is a plugin for Firefox that makes downloading multiple images easy.
Like FlashGets batch download,but special designed for some image site!
You will find it very useful when you download some url like
http://www.google.com/1.jpg
http://www.google.com/2.jpg
http://www.google.com/3.jpg...
or some other urls like:
http://www.google.com/0102.jpg
http://www.google.com/0203.jpg
http://www.google.com/0304.jpg...
And also you can download all images in current page at once.
<<lessLike FlashGets batch download,but special designed for some image site!
You will find it very useful when you download some url like
http://www.google.com/1.jpg
http://www.google.com/2.jpg
http://www.google.com/3.jpg...
or some other urls like:
http://www.google.com/0102.jpg
http://www.google.com/0203.jpg
http://www.google.com/0304.jpg...
And also you can download all images in current page at once.
Download (0.058MB)
Added: 2007-04-08 License: MPL (Mozilla Public License) Price:
951 downloads
File 4.21
File attempts to classify files depending on their contents and prints a description if a match is found. more>>
File is the open source implementation of the file command used on almost every free operating system (OpenBSD, Linux, FreeBSD, NetBSD) and also on systems that use free software (including OS/2, DOS, MS Windows, etc.).
The file command, if youre not familiar with it, is a command-line tool that tells you in words what kind of data a file contains. Unlike MS-Windows, UNIX and other systems dont rely on filename extentions to tell you the type of a file, but look at the files actual contents. This is, of course, more reliable, but requires a bit of I/O.
The original file command shipped with Bell Labs UNIX but was unavailable in source form to the masses before Ians reimplementation.
This file command (and magic file) was originally written by Ian Darwin (who still contributes occasionally) and is now maintained by a group of developers lead by Christos Zoulas.
Whos using it?
Every known BSD distribution (FreeBSD, NetBSD, OpenBSD, Darwin/Mac OS X, etc)
Every known Linux distribution
The Apache httpd server mod_mime_magic module uses the file commands innards to make file type guessing more reliable under Apache HTTPD.
<<lessThe file command, if youre not familiar with it, is a command-line tool that tells you in words what kind of data a file contains. Unlike MS-Windows, UNIX and other systems dont rely on filename extentions to tell you the type of a file, but look at the files actual contents. This is, of course, more reliable, but requires a bit of I/O.
The original file command shipped with Bell Labs UNIX but was unavailable in source form to the masses before Ians reimplementation.
This file command (and magic file) was originally written by Ian Darwin (who still contributes occasionally) and is now maintained by a group of developers lead by Christos Zoulas.
Whos using it?
Every known BSD distribution (FreeBSD, NetBSD, OpenBSD, Darwin/Mac OS X, etc)
Every known Linux distribution
The Apache httpd server mod_mime_magic module uses the file commands innards to make file type guessing more reliable under Apache HTTPD.
Download (0.53MB)
Added: 2007-05-25 License: GPL (GNU General Public License) Price:
535 downloads
BatchSystem-SBS 0.08
BatchSystem-SBS is a simple batch system. more>>
BatchSystem-SBS is a simple batch system.
SYNOPSIS
a short example
#edit examples/sbsconfig-examples-1.xml to put your own local machines (it can be a good idea, if you have not a cluster, to enter your local machine with different addresses (localhost, 123.156.78.90, hostname) to see sommething a bit more realistic...
#System status #in a side term, to see every second the watch -n 1 ../scripts/sbs-scheduler-print.pl --config=sbsconfig-examples-1.xml
#to submit or dozen or so scripts on queue single
../scripts/sbs-batch-submit.pl --config=sbsconfig-examples-1.xml --queue=single --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh
#and on a higher priority queue
../scripts/sbs-batch-submit.pl --config=sbsconfig-examples-1.xml --queue=single_high --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh
#to update
../scripts/sbs-scheduler-update.pl --config=sbsconfig-examples-1.xml
#to check data consistency (and solve main problems
../scripts/sbs-scheduler-check.pl
#to remove a job --config=sbsconfig-examples-1.xml
../scripts/sbs-batch-remove --config=sbsconfig-examples-1.xml yourjobid
submiting command
You can submit either comman or scripts.
Script submited on a resource of type machine will be sshed on the host
Once a resource is attributed to a job, the script is transformed, changing the following varaibles (see examples/*.sh)
$(machinefile} (for cluster type resource) ${nbmachines} (for cluster type resource) ${host} (for machine type resource) ${jobid}
At submition time, a directory with the job number (incremented integer) is created, where stdout/err will be written.
There will also have a batch.properties file (pids, start time etc. etc.)
<<lessSYNOPSIS
a short example
#edit examples/sbsconfig-examples-1.xml to put your own local machines (it can be a good idea, if you have not a cluster, to enter your local machine with different addresses (localhost, 123.156.78.90, hostname) to see sommething a bit more realistic...
#System status #in a side term, to see every second the watch -n 1 ../scripts/sbs-scheduler-print.pl --config=sbsconfig-examples-1.xml
#to submit or dozen or so scripts on queue single
../scripts/sbs-batch-submit.pl --config=sbsconfig-examples-1.xml --queue=single --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh
#and on a higher priority queue
../scripts/sbs-batch-submit.pl --config=sbsconfig-examples-1.xml --queue=single_high --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh
#to update
../scripts/sbs-scheduler-update.pl --config=sbsconfig-examples-1.xml
#to check data consistency (and solve main problems
../scripts/sbs-scheduler-check.pl
#to remove a job --config=sbsconfig-examples-1.xml
../scripts/sbs-batch-remove --config=sbsconfig-examples-1.xml yourjobid
submiting command
You can submit either comman or scripts.
Script submited on a resource of type machine will be sshed on the host
Once a resource is attributed to a job, the script is transformed, changing the following varaibles (see examples/*.sh)
$(machinefile} (for cluster type resource) ${nbmachines} (for cluster type resource) ${host} (for machine type resource) ${jobid}
At submition time, a directory with the job number (incremented integer) is created, where stdout/err will be written.
There will also have a batch.properties file (pids, start time etc. etc.)
Download (0.020MB)
Added: 2006-11-10 License: Perl Artistic License Price:
1079 downloads
AVI TV Episode File Resizer 1.0
AVI TV Episode File Resizer was made to fit (resize the file) multiple Xvid TV episodes (entire season) on a single DVD. more>>
AVI TV Episode File Resizer script is not for multiple MOVIE files (only TV) however it can do SINGLE MOVIE files quite nicely. The project was designed to help me fit (resize the file) multiple Xvid TV episodes (entire season) on a single DVD. Most of the time a TV series is almost exactly the same hours, mins, secs.
That enables this script to set the video bitrate the same for every file (episode) being processed to get the desired file size. The calculation is based on the hours, mins, seconds and the desired file size you want. If you correctly enter the time you will end up with a file size VERY close to the value you entered. The episodes will likley vary about 10 secs or so. Try to average that out when you select the episode time
The new files will have the EXACT same name as the old files so the input and output cannot be in the same DIRECTORY.
The "input files" selector can select multiple files so you can encode one or many files.
If you select an entire season (about 25 episodes) of files it could take quite a few hours to complete. The progress bar updates AFTER the completion of the first file and after every file there after. The current file being processed is displayed in the bottom status bar.
Transcode single pass is used to REencode the files.
Each file will be REencoded with MP3 audio bitrate of 96 kbps. The video is REencoded with the Xvid4 codec.
I used this script to go from 230MB to 175MB with good results. That saved me almost 1.4G for the season (25 episodes) and let me get it on a single DVD to play on my stand alone player.
You should try it with a single file first to check the quality and then do a batch job.
There are other tools to do this but this one can be setup and going in less than 1 min.
It takes almost 10 hours to do an entire season (25 episodes) at an episode time of 25 min 30 sec with a target file size of 171MB (ends up being about 174.8MB)
<<lessThat enables this script to set the video bitrate the same for every file (episode) being processed to get the desired file size. The calculation is based on the hours, mins, seconds and the desired file size you want. If you correctly enter the time you will end up with a file size VERY close to the value you entered. The episodes will likley vary about 10 secs or so. Try to average that out when you select the episode time
The new files will have the EXACT same name as the old files so the input and output cannot be in the same DIRECTORY.
The "input files" selector can select multiple files so you can encode one or many files.
If you select an entire season (about 25 episodes) of files it could take quite a few hours to complete. The progress bar updates AFTER the completion of the first file and after every file there after. The current file being processed is displayed in the bottom status bar.
Transcode single pass is used to REencode the files.
Each file will be REencoded with MP3 audio bitrate of 96 kbps. The video is REencoded with the Xvid4 codec.
I used this script to go from 230MB to 175MB with good results. That saved me almost 1.4G for the season (25 episodes) and let me get it on a single DVD to play on my stand alone player.
You should try it with a single file first to check the quality and then do a batch job.
There are other tools to do this but this one can be setup and going in less than 1 min.
It takes almost 10 hours to do an entire season (25 episodes) at an episode time of 25 min 30 sec with a target file size of 171MB (ends up being about 174.8MB)
Download (0.011MB)
Added: 2007-04-02 License: GPL (GNU General Public License) Price:
950 downloads
Download Machine 0.2
Download Machine provides a noninteractive, nongraphical, pure Java batch file downloader. more>>
Download Machine provides a noninteractive, nongraphical, pure Java batch file downloader.
Download Machine is pure Java daemon that watches queue files for changes. If a new entry is available, DM will download it. Queue files are just URL lists. DM fully supports the HTTP, FSP, and FTP protocols.
Main features:
- Design goals
- Non graphical
- Non interactive
- Relieable downloads
- Queued downloads
- Portability (uses Java)
- Simple to use
- Resume interrupted downloads
- Transports
- Support for HTTP/1.1 protocol
- Support for HTTP/1.0 protocol
- Support for FTP protocol
- Support for FSP protocol
- Custom headers
- Fake user-agent header
- Custom referer header, configurable per URL
- Custom cookie header, configurable per URL
- Other features
- Can check in different directories if we already have downloaded file (configurable by wildcard)
- Can move downloaded file to special directory (configurable by wildcard)
<<lessDownload Machine is pure Java daemon that watches queue files for changes. If a new entry is available, DM will download it. Queue files are just URL lists. DM fully supports the HTTP, FSP, and FTP protocols.
Main features:
- Design goals
- Non graphical
- Non interactive
- Relieable downloads
- Queued downloads
- Portability (uses Java)
- Simple to use
- Resume interrupted downloads
- Transports
- Support for HTTP/1.1 protocol
- Support for HTTP/1.0 protocol
- Support for FTP protocol
- Support for FSP protocol
- Custom headers
- Fake user-agent header
- Custom referer header, configurable per URL
- Custom cookie header, configurable per URL
- Other features
- Can check in different directories if we already have downloaded file (configurable by wildcard)
- Can move downloaded file to special directory (configurable by wildcard)
Download (MB)
Added: 2007-02-26 License: GPL (GNU General Public License) Price:
974 downloads
ChiliMac 0.1.0
ChiliMac is an interactive macro language implemented in 100% Java. more>>
ChiliMac is an interactive macro language implemented in 100% Java. It emphasizes ease of use and portability, while still providing several features for the power user.
It is built around XML (eXtensible Markup Language), which is a vibrant industry standard. This ensures compatibility with several third party tools and remarkable flexibility.
ChiliMac processes source documents, performs the specified actions and then generates output from the processed source documents.
Installation:
ChiliMac currently lacks an automated installation procedure. This will be remedied in future versions. Until then, the following should serve as a guide to manual installation of ChiliMac.
Firstly, you must install a Java Standard Edition Runtime Environment 5.0 (1.5.0) or greater.
Next, you will need to download the ChiliMac binary (the JAR file) to a suitable location for your system. Finally, the tricky part, you have to manually integrate the ChiliMac binary into your system.
This varies greatly from system to system, but is generally achieved by creating a shell script or batch file and adding it to your systems path.
Alternatively, you can just run the ChiliMac binary from the command line as follows (where x.y.z is substituded with the actual version number of the JAR file):
java -jar chilimac-x.y.z-bin.jar
<<lessIt is built around XML (eXtensible Markup Language), which is a vibrant industry standard. This ensures compatibility with several third party tools and remarkable flexibility.
ChiliMac processes source documents, performs the specified actions and then generates output from the processed source documents.
Installation:
ChiliMac currently lacks an automated installation procedure. This will be remedied in future versions. Until then, the following should serve as a guide to manual installation of ChiliMac.
Firstly, you must install a Java Standard Edition Runtime Environment 5.0 (1.5.0) or greater.
Next, you will need to download the ChiliMac binary (the JAR file) to a suitable location for your system. Finally, the tricky part, you have to manually integrate the ChiliMac binary into your system.
This varies greatly from system to system, but is generally achieved by creating a shell script or batch file and adding it to your systems path.
Alternatively, you can just run the ChiliMac binary from the command line as follows (where x.y.z is substituded with the actual version number of the JAR file):
java -jar chilimac-x.y.z-bin.jar
Download (0.009MB)
Added: 2005-10-18 License: GPL (GNU General Public License) Price:
1466 downloads
bnrt 0.1
bnrt is 2 programs, a client and a server, that are used to help distribute rendering of Blender animations. more>>
bnrt is 2 programs, a client and a server, that help render frames of animations over a network using multiple computers that all have Blender, a popular opensource 3D modeler/renderer, on them.
bnrt can run on Linux, Windows, and any other environment supported by both Java and Blender. Currently it is only set up to run on Linux and Windows, since those are the OSs I have running and active at the moment. But it is pretty trivial for me to add more OSs as long as they are supported by both Java and Blender.
To use bnrt you need to run the server on each system that you want to render frames on. This is done by either running the server shellscript or batch file. Or you can even just type in java -jar bnrtServer.jar at the command line.
After you have started a server on each system, then you need to run the client, which does not do any rendering. You can run a server and a client on the same machine. To run the client you need to run the following command from a command line:
java -jar bnrtClient.jar {file to render.blend} {first frame} {last frame} {server1} {server2} {server3....}
Please note that at the moment this is still pretty alpha code. I use it on my own network with up to 5 machines, mixed Windows and Linux as well as various processors, and it works quite well for me. YMMV, but if you run into a problem I will be happy to try to help you out as much as possible.
<<lessbnrt can run on Linux, Windows, and any other environment supported by both Java and Blender. Currently it is only set up to run on Linux and Windows, since those are the OSs I have running and active at the moment. But it is pretty trivial for me to add more OSs as long as they are supported by both Java and Blender.
To use bnrt you need to run the server on each system that you want to render frames on. This is done by either running the server shellscript or batch file. Or you can even just type in java -jar bnrtServer.jar at the command line.
After you have started a server on each system, then you need to run the client, which does not do any rendering. You can run a server and a client on the same machine. To run the client you need to run the following command from a command line:
java -jar bnrtClient.jar {file to render.blend} {first frame} {last frame} {server1} {server2} {server3....}
Please note that at the moment this is still pretty alpha code. I use it on my own network with up to 5 machines, mixed Windows and Linux as well as various processors, and it works quite well for me. YMMV, but if you run into a problem I will be happy to try to help you out as much as possible.
Download (0.047MB)
Added: 2005-10-17 License: GPL (GNU General Public License) Price:
1467 downloads
Pod::Simple::HTMLBatch 3.04
Pod::Simple::HTMLBatch is a Perl module to convert several Pod files to several HTML files. more>>
Pod::Simple::HTMLBatch is a Perl module to convert several Pod files to several HTML files.
SYNOPSIS
perl -MPod::Simple::HTMLBatch -e Pod::Simple::HTMLBatch::go in out
This module is used for running batch-conversions of a lot of HTML documents
This class is NOT a subclass of Pod::Simple::HTML (nor of bad old Pod::Html) -- although it uses Pod::Simple::HTML for doing the conversion of each document.
The normal use of this class is like so:
use Pod::Simple::HTMLBatch;
my $batchconv = Pod::Simple::HTMLBatch->new;
$batchconv->some_option( some_value );
$batchconv->some_other_option( some_other_value );
$batchconv->batch_convert( @search_dirs, $output_dir );
<<lessSYNOPSIS
perl -MPod::Simple::HTMLBatch -e Pod::Simple::HTMLBatch::go in out
This module is used for running batch-conversions of a lot of HTML documents
This class is NOT a subclass of Pod::Simple::HTML (nor of bad old Pod::Html) -- although it uses Pod::Simple::HTML for doing the conversion of each document.
The normal use of this class is like so:
use Pod::Simple::HTMLBatch;
my $batchconv = Pod::Simple::HTMLBatch->new;
$batchconv->some_option( some_value );
$batchconv->some_other_option( some_other_value );
$batchconv->batch_convert( @search_dirs, $output_dir );
Download (0.25MB)
Added: 2006-08-09 License: Perl Artistic License Price:
1171 downloads
File::Repl 1.20
File::Repl is a Perl module that provides file replication utilities. more>>
File::Repl is a Perl module that provides file replication utilities.
SYNOPSIS
use File::Repl;
%con = {
dira => C:/perl,
dirb => M:/perl,
verbose => 1,
age => 10,
};
$ref=File::Repl->New(%con);
$r1 = $ref->Update(.p(l|m),ab,1);
$r2 = $ref->Update(.t.*,ab,1,.tmp$);
The File:Repl provides simple file replication and management utilities. Its main functions are
File Replication
Allowing two directory structures to be maintained, ensuring files that meet selection logic criteria are mirrored and otherwise synchronized.
Bulk Renaming
Allowing files in a directory structure to be renamed according to the selection logic.
Compressing
Allowing files in a directory structure to be compressed according to a given logic.
Process
Run a common perl process against files in a directory structure according to selection logic.
Deletion
Allowing files in a directory structure to be deleted according to the selection logic.
<<lessSYNOPSIS
use File::Repl;
%con = {
dira => C:/perl,
dirb => M:/perl,
verbose => 1,
age => 10,
};
$ref=File::Repl->New(%con);
$r1 = $ref->Update(.p(l|m),ab,1);
$r2 = $ref->Update(.t.*,ab,1,.tmp$);
The File:Repl provides simple file replication and management utilities. Its main functions are
File Replication
Allowing two directory structures to be maintained, ensuring files that meet selection logic criteria are mirrored and otherwise synchronized.
Bulk Renaming
Allowing files in a directory structure to be renamed according to the selection logic.
Compressing
Allowing files in a directory structure to be compressed according to a given logic.
Process
Run a common perl process against files in a directory structure according to selection logic.
Deletion
Allowing files in a directory structure to be deleted according to the selection logic.
Download (0.015MB)
Added: 2007-06-28 License: Perl Artistic License Price:
849 downloads
File::Util 3.22
File::Util is an easy, versatile, portable file handling module. more>>
File::Util is an easy, versatile, portable file handling module.
File::Util provides a comprehensive toolbox of utilities to automate all kinds of common tasks on file / directories. Its purpose is to do so in the most portable manner possible so that users of this module wont have to worry about whether their programs will work on other OSes and machines.
SYNOPSIS
use File::Util;
my($f) = File::Util->new();
my($content) = $f->load_file(foo.txt);
$content =~ s/this/that/g;
$f->write_file(
file => bar.txt,
content => $content,
bitmask => 0644
);
$f->write_file(
file => file.bin, content => $binary_content, --binmode
);
my(@lines) = $f->load_file(randomquote.txt, --as-lines);
my($line) = int(rand(scalar @lines));
print $lines[$line];
my(@files) = $f->list_dir(/var/tmp, qw/ --files-only --recurse /);
my(@textfiles) = $f->list_dir(/var/tmp, --pattern=.txt$);
if ($f->can_write(wibble.log)) {
my($HANDLE) = $f->open_handle(
file => wibble.log,
mode => append
);
print $HANDLE "Hello World! Its ", scalar localtime;
close $HANDLE
}
my($log_line_count) = $f->line_count(/var/log/httpd/access_log);
print "My file has a bitmask of " . $f->bitmask(my.file);
print "My file is a " . join(, , $f->file_type(my.file)) . " file."
warn This file is binary! if $f->isbin(my.file);
print "My file was last modified on " .
scalar localtime($f->last_modified(my.file));
# ...and _lots_ more
<<lessFile::Util provides a comprehensive toolbox of utilities to automate all kinds of common tasks on file / directories. Its purpose is to do so in the most portable manner possible so that users of this module wont have to worry about whether their programs will work on other OSes and machines.
SYNOPSIS
use File::Util;
my($f) = File::Util->new();
my($content) = $f->load_file(foo.txt);
$content =~ s/this/that/g;
$f->write_file(
file => bar.txt,
content => $content,
bitmask => 0644
);
$f->write_file(
file => file.bin, content => $binary_content, --binmode
);
my(@lines) = $f->load_file(randomquote.txt, --as-lines);
my($line) = int(rand(scalar @lines));
print $lines[$line];
my(@files) = $f->list_dir(/var/tmp, qw/ --files-only --recurse /);
my(@textfiles) = $f->list_dir(/var/tmp, --pattern=.txt$);
if ($f->can_write(wibble.log)) {
my($HANDLE) = $f->open_handle(
file => wibble.log,
mode => append
);
print $HANDLE "Hello World! Its ", scalar localtime;
close $HANDLE
}
my($log_line_count) = $f->line_count(/var/log/httpd/access_log);
print "My file has a bitmask of " . $f->bitmask(my.file);
print "My file is a " . join(, , $f->file_type(my.file)) . " file."
warn This file is binary! if $f->isbin(my.file);
print "My file was last modified on " .
scalar localtime($f->last_modified(my.file));
# ...and _lots_ more
Download (0.041MB)
Added: 2007-08-08 License: Perl Artistic License Price:
808 downloads
Zenith Picture Gallery 0.9.4
Zenith Picture Gallery is a feature-rich picture gallery that organizes uploaded images into searchable categories. more>>
Zenith Picture Gallery is a feature-rich picture gallery that organizes uploaded images into searchable categories, creates thumbnails, and stores individual statistics for each one.
Other features of Zenith Picture Gallery include downloadable categories and sub-categories, user accounts and profiles, batch adding via FTP and batch deleting, user comments and ratings, the ability to add languages and skins, the option to rebuild thumbnails, an IP blacklist, and a comprehensive admin control panel that provides access to a great deal of settings and formatting options.
Main features:
- Everything is done from the browser, from installation to configuration.
- Searcheable records by filters.
- Auto-resizing/resampling of images to thumbnails.
- Easy skinning.
- Categories and sub-categories with display permission options.
- User accounts, user profiles, control panels and user types.
- Easy management of languages.
- Blacklist containing IPs of troublesome users.
- Admin CP allows you to define countless settings and formatting options.
- A notice appears in the nav bar to admins when there are pictures, comments or users awaiting approval.
- Batch add pictures via FTP.
- Batch delete pictures.
- Rebuild thumbnails tool.
- Search result and display page addresses are linkable.
- Gallery can be turned on/off.
- Adding pictures can be disabled for guests.
- Sort pictures by Last comments, Most viewed, Top rated.
- ZIP and download pictures.
- User accounts, profiles and pictures can all be managed in the Admin CP.
- Option to receive an email when a picture is submitted.
- 21. Option to allow only registered users to view the gallery.
- 22. Option to set a timezone offset for picture submission dates.
- Categories are mapped to directories in the file structure.
- Users can choose a skin from the ones uploaded.
- Forgot my Password and Resend Activation Email tools.
- Admins can define custom fields for pictures.
- EXIF support.
<<lessOther features of Zenith Picture Gallery include downloadable categories and sub-categories, user accounts and profiles, batch adding via FTP and batch deleting, user comments and ratings, the ability to add languages and skins, the option to rebuild thumbnails, an IP blacklist, and a comprehensive admin control panel that provides access to a great deal of settings and formatting options.
Main features:
- Everything is done from the browser, from installation to configuration.
- Searcheable records by filters.
- Auto-resizing/resampling of images to thumbnails.
- Easy skinning.
- Categories and sub-categories with display permission options.
- User accounts, user profiles, control panels and user types.
- Easy management of languages.
- Blacklist containing IPs of troublesome users.
- Admin CP allows you to define countless settings and formatting options.
- A notice appears in the nav bar to admins when there are pictures, comments or users awaiting approval.
- Batch add pictures via FTP.
- Batch delete pictures.
- Rebuild thumbnails tool.
- Search result and display page addresses are linkable.
- Gallery can be turned on/off.
- Adding pictures can be disabled for guests.
- Sort pictures by Last comments, Most viewed, Top rated.
- ZIP and download pictures.
- User accounts, profiles and pictures can all be managed in the Admin CP.
- Option to receive an email when a picture is submitted.
- 21. Option to allow only registered users to view the gallery.
- 22. Option to set a timezone offset for picture submission dates.
- Categories are mapped to directories in the file structure.
- Users can choose a skin from the ones uploaded.
- Forgot my Password and Resend Activation Email tools.
- Admins can define custom fields for pictures.
- EXIF support.
Download (0.52MB)
Added: 2007-07-09 License: Other/Proprietary License with Source Price:
902 downloads
Semi-Batched-Image-Editor 0.9
Semi-Batched-Image-Editor program is an image editor for Linux. more>>
Semi-Batched-Image-Editor program is an image editor for Linux.
The problem: Got a huge amount of scanned pictures (from your digital camera, or as Picture-CD from your favorite lab)? Want to rotate some of them to the right orientation? Select a good detail? Scale to a given output format? Want to do this with as less as possible mouseclicks?
The solution: SeBIE - the Semi-Batched-Image-Editor.
Main features:
- Input filename selection via regular expressions.
- Create output filename via regular expression and substitution.
- Select image details with a given proportion.
- Scale to a given output format when saving.
- Apply some color correction (at the moment only gamma curve correction is possible).
Why Semi-Batched? Because SeBIE is not fully batch processing. A rest of user interaction is still needed (and wanted).
SeBIE is written in C using the gdk/gtk (glib-2.0.7/gtk+-2.0.9) toolkit.
Installation:
Get the source distribution from the download page and unpack:
tar -xvzf sebie-0.9.tar.gz
Change to the sebie source directory:
cd sebie-0.9
Run the configure script:
./configure
Build the executable:
make all
And install it as root:
make install
Start the application using the command sebie....
Enhancements:
- Add events delete_event and destroy to main window.
- Handling resizable drawing area.
<<lessThe problem: Got a huge amount of scanned pictures (from your digital camera, or as Picture-CD from your favorite lab)? Want to rotate some of them to the right orientation? Select a good detail? Scale to a given output format? Want to do this with as less as possible mouseclicks?
The solution: SeBIE - the Semi-Batched-Image-Editor.
Main features:
- Input filename selection via regular expressions.
- Create output filename via regular expression and substitution.
- Select image details with a given proportion.
- Scale to a given output format when saving.
- Apply some color correction (at the moment only gamma curve correction is possible).
Why Semi-Batched? Because SeBIE is not fully batch processing. A rest of user interaction is still needed (and wanted).
SeBIE is written in C using the gdk/gtk (glib-2.0.7/gtk+-2.0.9) toolkit.
Installation:
Get the source distribution from the download page and unpack:
tar -xvzf sebie-0.9.tar.gz
Change to the sebie source directory:
cd sebie-0.9
Run the configure script:
./configure
Build the executable:
make all
And install it as root:
make install
Start the application using the command sebie....
Enhancements:
- Add events delete_event and destroy to main window.
- Handling resizable drawing area.
Download (0.087MB)
Added: 2006-02-06 License: GPL (GNU General Public License) Price:
1358 downloads
File::chmod 0.31
File::chmod is a Perl module that implements symbolic and ls chmod modes. more>>
File::chmod is a Perl module that implements symbolic and ls chmod modes.
SYNOPSIS
use File::chmod;
# chmod takes all three types
# these all do the same thing
chmod(0666,@files);
chmod("=rw",@files);
chmod("-rw-rw-rw-",@files);
# or
use File::chmod qw( symchmod lschmod );
chmod(0666,@files); # this is the normal chmod
symchmod("=rw",@files); # takes symbolic modes only
lschmod("-rw-rw-rw-",@files); # takes "ls" modes only
# more functions, read on to understand
File::chmod is a utility that allows you to bypass system calls or bit processing of a files permissions. It overloads the chmod() function with its own that gets an octal mode, a symbolic mode (see below), or an "ls" mode (see below). If you wish not to overload chmod(), you can export symchmod() and lschmod(), which take, respectively, a symbolic mode and an "ls" mode.
Symbolic modes are thoroughly described in your chmod(1) man page, but here are a few examples.
# NEW: if $UMASK is true, symchmod() applies a bit-mask found in $MASK
chmod("+x","file1","file2"); # overloaded chmod(), that is...
# turns on the execute bit for all users on those two files
chmod("o=,g-w","file1","file2");
# removes other permissions, and the write bit for group
chmod("=u","file1","file2");
# sets all bits to those in user
"ls" modes are the type produced on the left-hand side of an ls -l on a directory. Examples are:
chmod("-rwxr-xr-x","file1","file2");
# the 0755 setting; user has read-write-execute, group and others
# have read-execute priveleges
chmod("-rwsrws---","file1","file2");
# sets read-write-execute for user and group, none for others
# also sets set-uid and set-gid bits
The regular chmod() and lschmod() are absolute; that is, they are not appending to or subtracting from the current file mode. They set it, regardless of what it had been before. symchmod() is useful for allowing the modifying of a files permissions without having to run a system call or determining the files permissions, and then combining that with whatever bits are appropriate. It also operates separately on each file.
An added feature to version 0.30 is the $UMASK variable, explained below; if symchmod() is called and this variable is true, then the function uses the (also new) $MASK variable (which defaults to umask()) as a mask against the new mode. This is documented below more clearly.
<<lessSYNOPSIS
use File::chmod;
# chmod takes all three types
# these all do the same thing
chmod(0666,@files);
chmod("=rw",@files);
chmod("-rw-rw-rw-",@files);
# or
use File::chmod qw( symchmod lschmod );
chmod(0666,@files); # this is the normal chmod
symchmod("=rw",@files); # takes symbolic modes only
lschmod("-rw-rw-rw-",@files); # takes "ls" modes only
# more functions, read on to understand
File::chmod is a utility that allows you to bypass system calls or bit processing of a files permissions. It overloads the chmod() function with its own that gets an octal mode, a symbolic mode (see below), or an "ls" mode (see below). If you wish not to overload chmod(), you can export symchmod() and lschmod(), which take, respectively, a symbolic mode and an "ls" mode.
Symbolic modes are thoroughly described in your chmod(1) man page, but here are a few examples.
# NEW: if $UMASK is true, symchmod() applies a bit-mask found in $MASK
chmod("+x","file1","file2"); # overloaded chmod(), that is...
# turns on the execute bit for all users on those two files
chmod("o=,g-w","file1","file2");
# removes other permissions, and the write bit for group
chmod("=u","file1","file2");
# sets all bits to those in user
"ls" modes are the type produced on the left-hand side of an ls -l on a directory. Examples are:
chmod("-rwxr-xr-x","file1","file2");
# the 0755 setting; user has read-write-execute, group and others
# have read-execute priveleges
chmod("-rwsrws---","file1","file2");
# sets read-write-execute for user and group, none for others
# also sets set-uid and set-gid bits
The regular chmod() and lschmod() are absolute; that is, they are not appending to or subtracting from the current file mode. They set it, regardless of what it had been before. symchmod() is useful for allowing the modifying of a files permissions without having to run a system call or determining the files permissions, and then combining that with whatever bits are appropriate. It also operates separately on each file.
An added feature to version 0.30 is the $UMASK variable, explained below; if symchmod() is called and this variable is true, then the function uses the (also new) $MASK variable (which defaults to umask()) as a mask against the new mode. This is documented below more clearly.
Download (0.008MB)
Added: 2007-04-27 License: Perl Artistic License Price:
910 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above batch file search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed