Sponsored Content
Full Discussion: List versus find command
Top Forums UNIX for Dummies Questions & Answers List versus find command Post 302882820 by mohtashims on Thursday 9th of January 2014 09:10:23 AM
Old 01-09-2014
List versus find command

Hi,

My OS is SunOS mymac1 5.10 Generic_148888-04 sun4v sparc SUNW,SPARC-Enterprise-T5220

When i cd /var/output
ls -ltr *.css


It yields the output in less than a second. While
Code:
find /var/output  -type f -name "*.css"

does not complete for a while.
and
Code:
find /var/output  -type f *.css
find: bad option current_017.css
find: [-H | -L] path-list predicate-list

Can you please let me know what is incorrect and also how can i add the date to the current find command so that it lists only those .css files that match that date [yyyy-mm-dd]

Thank you !!

Last edited by mohtashims; 01-09-2014 at 10:15 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

solaris2.6 command to find/list system configuration

Hi. What command can be used to determine the system configuration. For example I want to find out how much CPU, how much memory, what CPU and 233mhz or 400mhz, etc. Please help.... (4 Replies)
Discussion started by: subhransu
4 Replies

2. UNIX for Dummies Questions & Answers

CTRL+H versus ^? versus BACKSPACE

Hi Gurus! I recently got my shell account (HP UX v11) created by our sysadmin and am having problem deleting with the backspace key. After doing some reading, I believe I need to enter a custom "STTY..." statement in my profile. Can someone please help me with the correct "STTY" sequence... (3 Replies)
Discussion started by: alan
3 Replies

3. UNIX for Dummies Questions & Answers

Question about DOS versus Unix Command?

Okay here is a DOS comparison. When I search for a file in DOS and I was not sure what directory it was in then I would put dir /s/o/p filename the s would tell it to look in every directory including subs, the o would sort it alphabetically and the p would limit the display to one page at a... (1 Reply)
Discussion started by: wmosley2
1 Replies

4. Shell Programming and Scripting

command find returned bash: /usr/bin/find: Argument list too long

Hello, I create a file touch 1201093003 fichcomp and inside a repertory (which hava a lot of files) I want to list all files created before this file : find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long but i make a filter all... (1 Reply)
Discussion started by: yacsil
1 Replies

5. Shell Programming and Scripting

Help with find command and list in a long format each found file

The purpose of those comands are to find the newest file in a directory acvrdind to system date, and it has to be recursively found in each directory. The problem is that i want to list in a long format every found file, but the commands i use produce unexpected results ,so the output lists in a... (5 Replies)
Discussion started by: alexcol
5 Replies

6. Shell Programming and Scripting

how assign the O/p of find command to a list.

i want to take the o/p of find command into a list like in java. can anyone help me regarding this. (10 Replies)
Discussion started by: dineshmurs
10 Replies

7. Shell Programming and Scripting

How to list the files based on the modification time using the find command?

Hi All, I need to list the files based modification time of the files from a directory, I cannot use "ls -t" as there are lot of files, which "ls" command cannot handle. New files will land there daily. So iam looking for an alternative through "find"command. All suggestions are welcomed. ... (6 Replies)
Discussion started by: Kesavan
6 Replies

8. UNIX for Dummies Questions & Answers

Code to list the files of find command

hi, i want to list the files from the below find commands output. find ./* -name "*.txt" -type f -mtime +10 will give the output like ./a.txt but i need the output in the format like (ls -lrt a.txt ) -rw-rw-rw- 1 srea nast 5 May 23 07:34 a.txt i used xargs for the... (4 Replies)
Discussion started by: msathees
4 Replies

9. Shell Programming and Scripting

List last 1 hour files with out FIND command

Hi Friends, Can we have an alternate command to list last 1hour files with out FIND command? Thanks Suresh (6 Replies)
Discussion started by: suresh3566
6 Replies

10. Shell Programming and Scripting

Find command to find a word from list of files

I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation. When I tried like below, -bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation -bash-4.1$ find ./ -name % Retail by State find: paths must precede expression: Retail Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
App::Prove::Plugin::HTML(3pm)				User Contributed Perl Documentation			     App::Prove::Plugin::HTML(3pm)

NAME
App::Prove::Plugin::HTML - a prove plugin for HTML output SYNOPSIS
# command-line usage: prove -P HTML=outfile:out.html,css_uri:style.css,js_uri:foo.js,force_inline_css:0 # NOTE: this is currently in alpha, this usage will likely change! DESCRIPTION
This is a quick & dirty second attempt at making TAP::Formatter::HTML easier to use from the command line. It will change once App::Prove has better support for plugins than need to take cmdline data. The original goal was to be able to specify all the args on the cmdline, ala: prove --html=output.html --css-uri foo.css --css-uri bar.css --force-inline-css 0 But this is currently not possible with the way the App::Prove plugin system works. As a compromise, you must use the following syntax: prove -P HTML=arg1:val1,arg2:val2,... Where argN is any TAP::Formatter::HTML parameter that is configurable via %ENV. Example prove -P HTML=outfile:out.html,css_uri:style.css,js_uri:foo.js,force_inline_css:0 This will cause prove to load this plugin, which loads TAP::Formatter::HTML for you, and sets formatter to "TAP::Formatter::HTML" to save you some typing. To configure TAP::Formatter::HTML, the following %ENV vars are set: TAP_FORMATTER_HTML_OUTFILE=out.html TAP_FORMATTER_HTML_FORCE_INLINE_CSS=0 TAP_FORMATTER_HTML_CSS_URIS=style.css TAP_FORMATTER_HTML_JS_URIS=func.js Yes, you can pass 2 or more css_uri or js_uri args. %ENV vars?! Briefly, App::Prove currently only lets you specify the "formatter_class" for TAP::Harness, it doesn't let you instantiate a formatter, or pass config to the formatter. Yes, I know %ENV vars are a horrible way to do things. If it bugs you too, then join the TAP::Harness devs and help us fix it ;-). BUGS
Please use http://rt.cpan.org to report any issues. AUTHOR
Steve Purkis <spurkis@cpan.org> COPYRIGHT
Copyright (c) 2008-2010 Steve Purkis <spurkis@cpan.org>, S Purkis Consulting Ltd. All rights reserved. This module is released under the same terms as Perl itself. SEE ALSO
prove, App::Prove, TAP::Formatter::HTML perl v5.12.4 2011-11-09 App::Prove::Plugin::HTML(3pm)
All times are GMT -4. The time now is 05:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy