08-06-2010
ls -ltr | grep "Aug 5" or you can use find with -mtime.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to get the latest file from a list of files in a particular directory.
Please could anyone help me out to get the file.
Thank you,
- Jay. (1 Reply)
Discussion started by: Jayathirtha
1 Replies
2. UNIX for Dummies Questions & Answers
I have a large directory of web pages. I am doing a search through the web pages using grep and would like to get a list of unique file names of search results. The following command works fine to give me a list of file names where term appears:
grep -l term *.html
However, since these are... (3 Replies)
Discussion started by: rjulich
3 Replies
3. Shell Programming and Scripting
I have the following list of file names stored in $fnames, so that if I do
foreach f ($fnames)
echo "$f"
end
I will get
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run1
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run2
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run3... (3 Replies)
Discussion started by: kristinu
3 Replies
4. Shell Programming and Scripting
Hi Experts,
Here is my scenario:
Am maintaining a file which has list of logs with complete path and file names like bleow
a/b/c/Daily/file1_20111012.log
d/e/f/Monthly/file1_20111001.log
g/h/Daily/file1_20110120.log
i/Daily/file1_20110220.log
How to copy the file names frm the list... (7 Replies)
Discussion started by: laxm
7 Replies
5. Shell Programming and Scripting
Hi All,
I have a .txt file with the list of filenames as given below.
/dev_data/dev3/ctl/20120622_Employee.txt
/dev_data/dev3/ctl/20120623_Employee.txt
/dev_data/dev3/ctl/20120624_Employee.txt
I want to read this file & write the dates alone from the filenames into a .done file.
... (6 Replies)
Discussion started by: dsfreddie
6 Replies
6. Shell Programming and Scripting
Hello,
I have two directories - prev and current . They both have same multiple subdirectories and files. Now the current directory can have some updated files and some new files added that is not in prev. I want to find the list of file names that differ. I am doing this because i can not... (2 Replies)
Discussion started by: jakSun8
2 Replies
7. Shell Programming and Scripting
Hi,
Anybody help me to write a Shell Script
Get the latest file from the file list based on created and then move to the target directory.
Tried with the following script: got error.
A=$(ls -1dt $(find "cveit/local_ftp/reflash-parts" -type f -daystart -mtime -$dateoffset) | head... (2 Replies)
Discussion started by: saravan_an
2 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Can any one help me to list out the directory names which contain the specified file.
See for example
File name : file.201307014.LKT
Have the directory structure as below.
/app/work/data/INDIA/file.201307014.LKT
/app/work/data/AMERICA/file.201307014.KTP... (5 Replies)
Discussion started by: Balasankar
5 Replies
9. Shell Programming and Scripting
3679 Jul 21 23:59 belk_rpo_error_**po9324892**_07212014.log
0 Jul 22 23:59 belk_rpo_error_**po9324892**_07222014.log
3679 Jul 23 23:59 belk_rpo_error_**po9324892**_07232014.log
22 Jul 22 06:30 belk_rpo_error_**po9324267**_07012014.log
0 Jul 20 05:50... (5 Replies)
Discussion started by: LoneRanger
5 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have list of files like below with name abcxyz.timestamp. I need a unix command to pick the latest file from the list of below files. Here in this case the lates file is abcxyz.20190304103200. I have used this unix command "ls abcxyz*|tail -1" but i heard that it is not the appropriate... (2 Replies)
Discussion started by: rakeshp
2 Replies
RAPID(6) Games RAPID(6)
NAME
rapid - content download tool for spring
SYNOPSIS
rapid [options] <action> [<argument>]
rapid-spring [options] <action> [<argument>]
DESCRIPTION
Rapid manages downloads of content for the spring RTS engine.
OPTIONS
action in the command line is one of:
upgrade: Install the latest package for all pinned tags.
clean-upgrade: Equivalent to 'upgrade' followed by 'uninstall-unpinned'.
pin: Pins a tag and installs the latest package for that tag.
unpin: Unpins a tag. Does not uninstall any packages.
install: Install a package. Does not pin any tags.
uninstall: Uninstall a package. Unpin its tag if any.
list-tags: List all tags that contain <argument>.
list-pinned-tags: Idem, but only pinned tags.
list-packages: List all packages whose name contains <argument>.
list-installed-packages: Idem, but only installed packages.
uninstall-unpinned: Keep only the pinned tags and all dependencies.
collect-pool: Remove pool files not needed by any installed package.
make-sdd: Extract pool files into a .sdd archive.
these are the possible options:
-h, --help show this help message and exit
--datadir=DATADIR Override the default data directory. (~/.spring on Linux or the one reported by unitsync on Windows)
--unitsync Use unitsync to locate the data directory Spring uses.
--no-unitsync Do not use unitsync.
EXAMPLES
rapid pin xta:latest # installs latest XTA
rapid pin s44:latest # installs latest Spring: 1944
rapid upgrade # upgrade all pinned tags
SEE ALSO
rapid-gui(6), spring(6)
AUTHOR
Tobi Vollebregt <tobivollebregt@gmail.com>
This manual page was written by Jan Dittberner <jandd@debian.org>, for the Debian project (but may be used by others).
rapid August 2010 RAPID(6)