Sponsored Content
Top Forums Shell Programming and Scripting Using Make to batch process files Post 302473275 by Corona688 on Friday 19th of November 2010 10:39:43 AM
Old 11-19-2010
Working in multiple jobs is generally preferred -- this lets make split the work across multiple cores, meaning, lets it do more at once. If you actually have multiple cores, you may find it faster to let it continue this way and run make -j2, or -j4 etc.

On the other hand there is a macro for "dependencies more recent than the target": $? So this could do it:
Code:
$(ALL_BIN) : $(ALL_XML)
        tool -export $?

Note that the eight spaces in front of tool there must actually be a tab for this rule to work.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

trying to read batch process but need some command help

I am trying to access batch process that take place each nite. I am using Solaris 5.8 (and i am used to redhat). however I am trying to access say a certain directory. The home/oradev , is the directory...in there i am trying to access say a batch file within this, how can see if they are in... (1 Reply)
Discussion started by: etravels
1 Replies

2. Shell Programming and Scripting

User Prompt during batch script process

The script below performs an incremental database backup. When the increment backup is out of sequence, the process prompts the user: "Incremental backup out of sequece. Do you wish to continue? Y or N". This script is set to run as a scheduled process in background mode. When the script... (2 Replies)
Discussion started by: bond007jlv
2 Replies

3. Shell Programming and Scripting

how to start a process and make it sleep for 5 mins and then kill that process

how to start a process and make it sleep for 5 mins and then kill that process (6 Replies)
Discussion started by: shrao
6 Replies

4. Shell Programming and Scripting

How to make the parent process to wait for the child process

Hi All, I have two ksh script. 1st script calls the 2nd script and the second script calls an 'C' program. I want 1st script to wait until the 'C' program completes. I cant able to get the process id for the 'C' program (child process) to make the 1st script to wait for the second... (7 Replies)
Discussion started by: sennidurai
7 Replies

5. Shell Programming and Scripting

Processing different jobs as a batch process

Hi All, I want to process consecutive jobs in a sequence but when I execute 1 job ,the control does not return to the command prompt to continue with the next job. Can anyone help me here? Thanks (3 Replies)
Discussion started by: Taranjeet Singh
3 Replies

6. Shell Programming and Scripting

Executing a batch of files within a shell script with option to refire the individual files in batch

Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below. I am on a solaris server btw. Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose. ... (2 Replies)
Discussion started by: goddevil
2 Replies

7. Shell Programming and Scripting

Cannot make pipe for process substitution: Too many open files

Hi, I've came across an issue with a script I've been writing to check DHCP addresses on an Solaris system, the script has been running reasonably well, until it hit the following problem: ./sub_mon_v2: redirection error: cannot duplicate fd: Too many open files ./sub_mon_v2: cannot make... (3 Replies)
Discussion started by: CiCa
3 Replies

8. Shell Programming and Scripting

Make background process interact with fg process

Hi, I have written a menu driven shell script in which as per the choice, I run the another script on background. For eg: 1. get info 2)process info 3)modify info All the operations have different scripts which i schedule in background using &. However I wish to display the error... (0 Replies)
Discussion started by: ashima jain
0 Replies

9. Shell Programming and Scripting

Start process on X number of files and then wait for the next batch

Thanks for RudiC for his extraordinary help on organizing files in a batch of 10 using below code. FL=($(ls)); for ((i=0;i<=${#FL};i++)); do for j in ${FL:$i:10}; do $batch ${j} ${j}.txt done; echo "Pausing for next iteration"; echo... (6 Replies)
Discussion started by: busyboy
6 Replies
SOUNDCONVERTER(1)						GNOME User's Manual						 SOUNDCONVERTER(1)

NAME
soundconverter - convert sound files to other formats SYNOPSIS
soundconverter [options] [file...] DESCRIPTION
soundconverter is a simple tool for converting sound files to other formats. It can work from the command line, but is really meant for interactive use in the GNOME environment. OPTIONS
-h, --help Print out a usage summary. -b, --batch Convert in batch mode, from command line, without a graphical user interface. You can use this from, say, shell scripts. -m, --mime-type arg Set the output MIME type for batch mode. The default is audio/x-vorbis. Note that you probably want to set the output suffix as well. -q, --quiet Be quiet. Don't write normal output, only errors. -d, --debug Print additional debug information. -s, --suffix arg Set the output filename suffix for batch mode. The default is .ogg. Note that the suffix does not affect the output MIME type. -t, --tags Show tags for input files instead of converting them. This indicates command line batch mode and disables the graphical user inter- face. -j, --jobs= Force number of concurent conversions. Default is one per present CPU. AUTHOR
Lars Wirzenius (liw@iki.fi). Gautier Portet (kassoulet@gmail.com) Uwe Bugla (uwe.bugla@gmx.de). GNOME
2009-06-10 SOUNDCONVERTER(1)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy