Sponsored Content
Full Discussion: Progress reporting
Top Forums UNIX for Dummies Questions & Answers Progress reporting Post 36324 by Ypnos on Tuesday 27th of May 2003 11:32:51 AM
Old 05-27-2003
here's the crucial bit


if test -f /u/ttc/
then #File or directory exists so ask for confirmation

echo -n "Ready to begin copy, continue? [y/n]"; read choice
if [ "$choice" -eq y ] || [ "$choice" -eq Y]; then echo "Copying files"
cp -r $livecomp $copycomp
mv -r $livecomp $tempcomp

As you see, I'm not using a for loop...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reporting

I have to do a lot of reporting for the company that I work for and was wondering if anyone had suggestions for a way to create professional looking reports. I currently use Filepro so much that I rarely see the shell. Any help is appreciated. (3 Replies)
Discussion started by: Mike11
3 Replies

2. Shell Programming and Scripting

Reporting SU and Failedlogins

Hi:- I am working on an audit report that produces a monthly summary of account activity on a particular AIX host. I am struggling with su activity and failed logins as these tend to come back with more then a month's data. Is there a easy way that these files can be rotated/cleaned out on a... (1 Reply)
Discussion started by: janet
1 Replies

3. UNIX for Dummies Questions & Answers

SNMP time reporting

Hi, First post, please bare with me. I am currently using SNMP on Nagios to monitor Exim and all is running great with the exception to it picking up the date / time of the last Exim queue run. What I am hoping to achieve is for SNMP / Nagios to correctly pickup the difference between the... (1 Reply)
Discussion started by: theblueproject
1 Replies

4. Solaris

sar command not reporting

I am running Solaris 10 in a sparc environment. I have the sys crontab setup to use sar to gather data and report it. My sys crontab entry looks like this: 0,5,10,15,20,25,30,35,40,45,50,55 * * * 0-6 /usr/lib/sa/sa1 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e... (2 Replies)
Discussion started by: RobSand
2 Replies

5. Shell Programming and Scripting

Disk space reporting

I need to accomplish the following task - I have a number of accounts for a number of applications that i deploy on a unix server. There are a number of directories for each account in /prod/apps directory. eg. For an account Application1 I have /prod/apps/Application1_1 /prod/apps/Application1_2... (4 Replies)
Discussion started by: niranjandighe
4 Replies

6. Solaris

Monitoring and Reporting Solutions

Hi, I am hunting for a low cost Monitoring & Reporting Tool for the SUN Environment. I have all and all SUN Environment with LDOMs, Zones. The monitoring Tool 1. Hardware failure. 2. Disk space and failure. 3. LDOMS,Zones. 4. CPU,Memory Utilization. 5. ping,URL Monitors 6. Send... (4 Replies)
Discussion started by: menonk
4 Replies

7. SCO

du and dfspace reporting

Hi, I am using SCO UNIX version 6.0.0 release 5. I am using du and df space to see the used space in the / partition. I am using du -k option to get count in 1024 k so that it directly makes kb. In dfspace I subtracted the used mb from total size mb which should be the used space and then... (40 Replies)
Discussion started by: dextergenious
40 Replies

8. UNIX for Advanced & Expert Users

Reporting last login details

Most of my Solaris 10 user accounts are generally 10 characters long. When I run the 'last' command the report only shows the first 8 characters so the information is not very helpful. How can I report the full 10 character user account. (1 Reply)
Discussion started by: PPOWER55
1 Replies

9. AIX

How to disable an error reporting ???

Hi A few days ago I attached an usb external disk to a server running AIX, then I removed it without typing any commands. Now, the server can't find the usb device and it keeps reporting the errors every 3 hours, like this 55479D40 0112080017 T H usbms0 ADDITIONAL INFORMATION... (2 Replies)
Discussion started by: bobochacha29
2 Replies
AMC-IMPRIME(1)						       Auto Multiple Choice						    AMC-IMPRIME(1)

NAME
AMC-imprime - prints AMC multiple choice answer sheets to be distributed to the students SYNOPSIS
auto-multiple-choice imprime --sujet subject.pdf --fich-nums numbers-file.txt --data data-dir --methode method [where-to-print-arguments...] DESCRIPTION
The AMC-imprime.pl command prints selected copies from a AMC multiple choice answer sheet. What to print The following arguments describe what to print: --sujet subject.pdf sets the subject file (prepared by AMC-prepare(1)). --fich-nums numbers-file.txt gives a file where the numbers of the copies to be printed are written (one number per line). If this argument is not given, all the copies will be printed. --data data-dir gives the directory where data files are (see for example AMC-meptex(1)). The layout database in the data directory is used to know at which page of the subject file each copy begins and ends. Where to print Several printing methods are currently defined: o with "--methode CUPS", AMC-imprime.pl prints to a CUPS printer. One print job is sent for each copy, allowing for exemple to use stapling. Use the following options with this method: --imprimante printer sets the CUPS printer name to print to. --options cups-options gives CUPS options, in the opt1=value1,opt2=value2,... format. o with "--methode file", AMC-imprime.pl outputs the answer sheets to files (one for each copy). --output filename sets the filename for outputs. The '%e' sequence will be replaced by a 4-digits copy number. If filename does not contain '%e', the string '-%e.pdf' will be added at its end. o with "--methode command", AMC-imprime.pl will use a provided command for each copy. --print-command command gives the command to be used for printing. The command string will be split at each space character (even when using quotes...). The sequence '%f' will be replaced by a PDF filename (containing the copy to print), and '%e' will be replaced by the copy number. AUTHORS
Alexis Bienvenue <paamc@passoire.fr> Main author Jean Berard Translation from French Georges Khaznadar Translation from French COPYRIGHT
Copyright (C) 2008-2012 Alexis Bienvenue This document can be used according to the terms of the GNU General Public License, version 2 or later. Auto Multiple Choice 1.1.1 06/19/2012 AMC-IMPRIME(1)
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy