09-27-2010
Thanks kurumi...
But I' never use Ruby before. In addition, Ruby is not installed on Server...
Overall....thanks for your code...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i want to copy a filea.dat to a file name in the format
of filea_yyyymmdd_hhmi.dat
using something like DTSTAMP=$(date "+%Y%m%d"),
which puts it in format filea_yyyymmdd.dat (5 Replies)
Discussion started by: jhamm
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Everyone,
I want to delete some files in a path based on the time stamp of the file that is i want to delete the file once in a month.
Can any one help me on this?
Thanks in advance (2 Replies)
Discussion started by: samudha
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I know the timestamp of a file. Now i would like to list all the files in the with the same time stamp in the same file.
Any help would be appreciated.
Thanks.
sunny (1 Reply)
Discussion started by: sunny_03
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
I have to move files between file systems but files in new file system must have the same attributes as in old one (privileges, time stamp etc).
Which tool is best :
- ufsdump / ufsrestore
- tar
- cpio
- pax
- dd
- mv
Or maybe there is sth else, you suggest to use.
Thx for help (5 Replies)
Discussion started by: presul
5 Replies
5. Shell Programming and Scripting
Hi,
As i know , we can change the time stamp of a file by touch command, i did change in a file and it is looking as given
# ls -l abcd
-rw-r--r-- 1 batsoqa sicusers 0 Feb 17 2010 abcd
actually i want to see the output like this
-rw-r--r-- 1 batsoqa sicusers ... (3 Replies)
Discussion started by: apskaushik
3 Replies
6. Shell Programming and Scripting
Hi All,
PFB is a requirement. I am new to shell scripting. So plz help. It would be highly appreciated.
1. choose all the log files based on a particular date (files location is '/test/domain')--i.e,we should choose all the files that are modified on 29th November, neither 28th nor 30th
2.... (3 Replies)
Discussion started by: skdas_niladri
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I'm trying to improve my Unix skills and I'm wondering what is the best way to move some files based on filetype and attributes like time created?
For instance, lets suppose I have a directory with many different files in it and I'd like to move all the jpgs that were created between May... (6 Replies)
Discussion started by: LuckyTommy
6 Replies
8. Programming
Hi all,
I'm after some help with this small issue which i'm struggling to work out a fix for.
I have a file that contains records that all have a time stamp for each individual record, i need to search the file for a specific time stamp and then search back 10 seconds to see if the number... (2 Replies)
Discussion started by: sp3arsy
2 Replies
9. Shell Programming and Scripting
Hi All,
I am facing small problem.
i want to print file time stamp on which date file has placed in the server.
i have given some code but its not giving the year.
any help appreciated.
regards
rajesh. (4 Replies)
Discussion started by: rajesh_pola
4 Replies
10. Shell Programming and Scripting
find /app/data -name "Availability" -
Below is the output now i need to filter based on latest modified timestamp.
I know 3 is the latest modified time stamp but i tried different options but only filtering docs and not on headnote..Can any one tell me how to do that..
... (2 Replies)
Discussion started by: vkiyv05
2 Replies
YRI(1) YRI(1)
NAME
yri - documentation tool in console for Ruby
SYNOPSIS
yri [options] Path_to_object
DESCRIPTION
yard(1) is an extensible documentation generation tool for the Ruby programming language. It enables the user to generate consistent,
usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such
as custom class level definitions.
yri(1), synonym for yard ri gives the possibility to read the documentation for Ruby programs inside a console, pretty much like ri(1).
OPTIONS
General Options:
-b, --db FILE
Use a specified .yardoc db to search in
-T, --no-pager
No pager
-p, --pager PAGER
Use PAGER as a pager
Other options:
-e, --load FILE
A Ruby script to load before running command.
--plugin PLUGIN
Load a YARD plugin (gem with `yard-' prefix)
--legacy
Use old style Ruby parser and handlers. Always on in 1.8.x.
--safe
Enable safe mode for this instance
-q, --quiet
Show no warnings.
--verbose
Show more information.
--debug
Show debugging information.
--backtrace
Show stack traces
-v, --version
Show version.
-h, --help
Show a help message, similar to this page.
EXAMPLES
yri String#gsub
SEE ALSO
yard(1).
AUTHORS
yard has been developed by Loren Segal <lsegal@soen.ca>.
This manual page has been written for the Debian Project by CA(C)dric Boutillier (but may used by others).
2012-05-08 YRI(1)