Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Checking file sizes in script Post 302339263 by chris01010 on Thursday 30th of July 2009 06:43:41 AM
Old 07-30-2009
Thanks guys.

What's the difference between -f and -s? and why does -s work and not -f?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script for file names/sizes

How can I look at a certain directory and list all the file names, locations and sizes of each file in the current directory and all subdirectories? (2 Replies)
Discussion started by: ssmiths001
2 Replies

2. Shell Programming and Scripting

Simple file checking script

Hi, I have a really, what I hope is, simple question. I'm looking for a simple way to see whether a file exists or not and then perform an action based on whether it exists or not. An example of what I tried is as follows: if then { echo "File mysql exists" ... (1 Reply)
Discussion started by: _Spare_Ribs_
1 Replies

3. Shell Programming and Scripting

Script to check and report database file sizes...

Need help for a script to check and report database file sizes. (2 Replies)
Discussion started by: marconi
2 Replies

4. Shell Programming and Scripting

Script for checking and reporting file sizes in a directory.

Hi, Need help for a Script for checking and reporting database file sizes in a directory. Request you to please give your valuable inputs. Thanks a lot in advance. Best Regards, Marconi (1 Reply)
Discussion started by: marconi
1 Replies

5. Programming

Checking columns in SQL, comparing user input and sizes.

I'm writing a KSH shell script that's using SQL though DB2. If I have a table defined and populated db2 "create table tb(num int,letter char(4))" db2 "insert into tb values(111,a) db2 "insert into tb values(112,b) db2 "insert into tb values(111,c) How can I check if a letter user... (0 Replies)
Discussion started by: busdude
0 Replies

6. Shell Programming and Scripting

Script check for file, alert if not there, and continue checking until file arrives

All, Is there a way to keep checking for a file over and over again in the same script for an interval of time? Ie If { mail -user continue checking until file arrives file arrives tasks exit I don't want the script to run each time and email the user each time a file... (4 Replies)
Discussion started by: markdjones82
4 Replies

7. Shell Programming and Scripting

Help with script checking for a file in various servers

I am trying to write a script that checks whether or not, a file exists on multiple servers. My code / logic so far is: #!/usr/bin/ksh print "Enter File name to be checked" read MYFILE ssh server1 " cd /var/opt/logs ; if then ... (4 Replies)
Discussion started by: momin
4 Replies

8. Shell Programming and Scripting

Script to compare file sizes

I need to write a bash script larger X Y that compares the sizes of two specified files X and Y, and reports which file is larger. For example, if X is larger, the output should be "File X is larger", while if Y is larger, the output should be "File Y is larger". If the files are exactly the... (3 Replies)
Discussion started by: julia_21436
3 Replies

9. UNIX for Dummies Questions & Answers

Checking for file Sizes

Hi , I have some 10 files where i need to check the size of each and every file...if the size of the file is 0...I shud send out an email mentioning which file is actually of 0KB size.. Pls help (13 Replies)
Discussion started by: saggiboy10
13 Replies

10. Shell Programming and Scripting

File checking script need help

Hi, Gurus, I need a scripts to check specified file if it exists or not at certain time (say every month between 5th and 7th). if file exists do something otherwise do another thing. can anybody help this? Thanks in advance :wall: (3 Replies)
Discussion started by: ken002
3 Replies
MAZEOFGALIOUS(6)						   Games Manual 						  MAZEOFGALIOUS(6)

NAME
mog - Maze of Galious SYNOPSIS
mog DESCRIPTION
This manual page documents briefly the mog command. This manual page was written for the Debian distribution because the original program does not have a manual page. mazeofgalious is a is a very adictive game where you have to kill thousands of enemies, collect items in order to obtain new powers, and defeat some really great guys at the end of each level. You are free to go everywhere you want from the beginning of the game, you have to choose very carefully the order in which you visit all the rooms in the huge map if you want to keep your character to stay alive. The map is structures in a main map (called the castle), and 10 submaps (called the worlds), initially you are in the castle, and you have to find the keys that open the doors to go to each of the worlds. To complete the game, you have to defeat the boss at the end of each one of the 10 worlds. You are free to revisit each world as often as you want, in order to see if you have missed something. To defeat all 10 beasts, you control two characters: Popolon and Aphrodite, and each one has special abilities, i.e. Popolon has a greater ability to jump and Aphrodite is able to dive. AUTHOR
This manual page was written by Gurkan Sengun <gurkan@linuks.mine.nu>, for the Debian project (but may be used by others). March 26, 2005 MAZEOFGALIOUS(6)
All times are GMT -4. The time now is 09:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy