Sponsored Content
Top Forums Shell Programming and Scripting daystart option not working in find command Post 302421081 by Scott on Thursday 13th of May 2010 10:49:27 AM
Old 05-13-2010
Hi.

One option is to "touch" a file, and then use the find -newer option.

i.e.
Code:
$ touch $(date '+%m%d')0000 TODAY
$ find . -newer TODAY

This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

Why does the 'ps' command with -u option not working?

How can I use the 'ps' command to view current sessions but only for a given process/user, with the -u parm? In older versions of Unix, this used to work, but not in Sun Solaris. Thanks (4 Replies)
Discussion started by: ElCaito
4 Replies

2. Shell Programming and Scripting

-s option to find object exists not working.

is there a direct command to find whether directory is empty, -s option doesn't seem to work. Mark. (2 Replies)
Discussion started by: markjason
2 Replies

3. UNIX for Advanced & Expert Users

For ls command,-r option is not working on OSF1

There r 2 servers. Lets call them S1 and S2.. S1 is OSF1 and S2 is SunOS.. One directory of S2 is mounted on S1. say abc/xyz There is one application which continuously put xml files in that directory (on S2). If we give command “ls -lrt” on S2 it gives proper output.. (i.e. gives list... (1 Reply)
Discussion started by: asmita
1 Replies

4. UNIX for Dummies Questions & Answers

help me out with find command , -prune option

Hi , Kindly help me out .:) i want to find only the file t4 in directory t3. i am in dir t . the tree is as follows. if i give, find . o/p is . ./t4 ./t1 ./t1/t2 ./t1/t2/t3 ./t1/t2/t3/t4 ./t1/t2/t4 ./t1/t4 directories are like t/t1/t2/t3 and each directory has file t4. my... (7 Replies)
Discussion started by: bhuvaneshlal
7 Replies

5. Shell Programming and Scripting

help with find command and prune option

Hi I have a directory say mydir and inside it there are many files and subdirectories and also a directory called lost+found owned by root user I want to print all files directories and subdirectorres from my directory using find command except lost+found If i do find . \( -name... (3 Replies)
Discussion started by: xiamin
3 Replies

6. HP-UX

who command option not working

Running HP 11.31 on a HP3600. But when I log in as a user the who command works but if I use an option like "who -m" I get nothing. Any thoughts on what is causing this problem. (11 Replies)
Discussion started by: KMRWHUNTER
11 Replies

7. Shell Programming and Scripting

Please suggest me a better option than FIND command

Hi All, Could you please help me in searching files in a better way satisfying the below conditions I want to search files in a path whose access time is more than 5min and less than 60 min and whose Byte size is greater than zero For this, i am using the below command, but it is... (2 Replies)
Discussion started by: sparks
2 Replies

8. Shell Programming and Scripting

Confusing find command option

Hi, I am a little bit confusing of using find command. Actually, I am planning to delete the files whatever the files are existing in the day before yesterday. So, I am writing the command like this. find . -name "*.txt" -ctime -2 { here I am confusing, if I will use +2 or +1 also I am... (5 Replies)
Discussion started by: nagraju.allam
5 Replies

9. Shell Programming and Scripting

Find command without -daystart

Hi All, on a Linux server I use this command to compress ONLY the files of yesterday PATH=/home/user01/logs TYPE="*" DAYS=1 find $PATH -daystart -mtime $DAYS -type f -name "$TYPE" -exec gzip -f '{}' ';' On SunOS the -daystart option is not allowed A different test is the following on SunOS... (4 Replies)
Discussion started by: gio123bgg
4 Replies

10. Shell Programming and Scripting

Maxdepth option of find command not working

Can you please figure out what is the issue here $ find . -maxdepth 1 -type f -size 0 -print find: bad option -maxdepth please find the OS details $ uname -a HP-UX g5u1216 B.11.31 U ia64 2614088426 unlimited-user license Use code tags, thanks. (6 Replies)
Discussion started by: TomG
6 Replies
PO_COS_NAMING_SHELL(1)													    PO_COS_NAMING_SHELL(1)

NAME
po_cos_naming_shell - navigate and interact with the CORBA COS Naming implementation. SYNOPSIS
po_cos_naming_shell [-s] [-i] [-I <IOR>] [-n] All the command line switches are optional. Note: if no root directory initial reference is specified (see section OPTIONS), a new one is created on startup. DESCRIPTION
po_cos_naming_shell(1) is very similar to the po_cos_naming(1) application. po_cos_naming_shell(1) can can act as standalone server that supports the CORBA COS Naming specification. In addition, po_cos_naming_shell(1) provides an interactive shell which can be used to query and manage the CORBA COS naming service. po_cos_naming_shell(1) is able to retrive an existing root directory reference, or it can create a new one on application startup. To display all available shell commands, type help on the command line. OPTIONS
po_cos_naming_shell(1) accepts the following command line switches: -s Register root directory initial reference. -i Retrieve root directory initial reference. -I <IOR> Use object denoted by IOR as root directory. -n Retrieve root directory by name. AUTHOR
This manual page was written by Reto Buerki <reet@codelabs.ch> for the Debian GNU/Linux system (but may be used by others). RESOURCES
Polyorb User Manual: http://www.adacore.com/wp-content/files/auto_update/polyorb-docs/polyorb_ug.html/ SEE ALSO
po_cos_naming(1), po_names(1). 05/21/2009 PO_COS_NAMING_SHELL(1)
All times are GMT -4. The time now is 05:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy