i have read man page but i could not got the answer
i am not able to understand why dec 1 files are not dispalayed in find . -mtime +7 -type f -exec ls -1 {} \; | wc -l
can you help me to understand how find command do is there any calculation is there ?
Thanks in advance.
Prakash
Last edited by Scott; 12-09-2010 at 03:54 AM..
Reason: Code tags
If I use the find command to find files older than n days I have to enter
find . -mtime +(n-1). I tried this on a Solaris 9 system and also Linux. Is this something that all Unix veterans know about (I'm new to Unix)? If so, maybe my man pages need to be updated (how to do this?). :confused: (4 Replies)
...what am i doing wrong??
I need to find all files older than 30 days and delete but I can't get it to pull details for ANY + times. The file below has a time stamp which is older than 1 day, however if I try and select it using any of the -time flags it just doesn't see it. (the same thing... (1 Reply)
I am using HP-UNIX , The below command doesnt display anything although i have changed a file in the directory by
toutch -t 200010101800 nfile
find /tmp/transfer/ -name "*.*" -mtime +1
Any problrm with the find command i written . .Please help ??..
Thanks,
Arun (4 Replies)
Hi
I've made some test with perl script to learn more about mtime...
So, my question is :
Why the mtime from findfind /usr/local/sbin -ctime -1 -mtime -1 \( -name "*.log" -o -name "*.gz" \) -print are not the same as mtime from unix/linux in ls -ltr or in stat() function in perl : stat -... (2 Replies)
Hi guys, I am looking for a way of moving all files out of a directory with a time stamp greater then the one I specify. Can anyone suggest a way of doing so?
For example, move all files out of dir1 which were created after 17:00 into dir2.
Thanks :) (1 Reply)
Hi,
i try to catch all files in a dir ,without going down in subdir , which don't have file extension and older than 10 days for example:
my dir :
drwxr-xr-x 7 notes01 notes 4096 Mar 8 14:11 .
drwxr-xr-x 116 root system 4096 Mar 9 11:17 ..
-rw-r----- 1 notes01... (4 Replies)
Hi, so I was using mtime and its not behaving the way I would think its supposed too. I have two pdf files. One modified today and another 6 months ago. I upload them to the solaris server. Then I run the below find statements.
This finds my 2 files
find *.pdf -type f -name '*.pdf'
this finds... (2 Replies)
Hi,
I'm trying to find all files that have a .ksh and .p extension and that are 7 days old by using the below find command but it doesn't seem to as expected. It gives me random results.. Can someone point out what may be wrong?
find . -name "*.ksh" -o -name "*.p" -mtime -7 (2 Replies)
Hi,
Please give me more details on the following examples, about "mtime" option.
When I try this, I could not get the expected output, please help.
find . -mtime -1 -print
find . -mtime +1 -print
find . -mtime 1 -print
How do I get the files modified between two dates, say from... (4 Replies)
Discussion started by: Dev_Dev
4 Replies
LEARN ABOUT DEBIAN
omega-rpg
omega(6) Games Manual omega(6)NAME
omega - a hack-style game with quests.
SYNOPSIS
omega [save file]
DESCRIPTION
omega is a complex rogue-style game of dungeon exploration. Unlike other such games, there are a number of ways to "win", depending on
various actions taken during play. The ways you can get your name on the hiscore board include becoming the highest ranked head of a guild,
sect, college, etc., as well as gaining the most points figured from possessions and experience. The game (via the oracle) may impose some
structure on your exploration, but you need not follow all of the oracle's advice. There *is* a "total winner" status, by the way.
If the save file is not specified, omega gives the player the choice of generating a random character, or playing themselves, doing a short
quiz to determine an approximation of their abilities. If the save file is given, omega will restore that save file, and if successful,
the save file is deleted. Note that some installations of omega compress the save file, using either compress(1) or gzip(1) - if this is
the case, and you have a save file that is uncompressed (such files are generated by omega if it receives a signal during play, for exam-
ple), you can compress it (with compress(1) or gzip(1)) and remove the .Z or .gz extension. Alternatively, you may simply run with the
uncompressed save file - this will not affect the game in any way, but takes more disk space between games.
omega offers a richness of playing detail that goes beyond a simple game like rogue. However, the majority of gameplay is very similar to
rogue, hack, ultrarogue, larn, and other such games. The player is represented by the highlighted "@" symbol, objects and terrain features
are represented by non-alphabetic symbols, monsters are represented by the various upper and lower case letters, and other humans are rep-
resented by a non-highlighted "@".
omega currently consists of a countryside in which are sited a city, various villages, several dungeons, and some "special" sites, such as
the temples of the various priesthoods. The game starts in the city of Rampart, where all the guilds have headquarters. As a dungeon is
explored, all generated levels are saved in memory. However, only one dungeon is "remembered" at a time, so if you enter two dungeons, the
first will be forgotten (it will be regenerated should you wish to enter it again). However, if a dungeon is "completed", this fact will be
remembered, basically meaning that the unique monster at the bottom will not be regenerated if you've killed it already.
SEE ALSO compress(1), gzip(1), nethack(6)AUTHOR
Laurence Brothers
omega(6)