I need to list only those files which are most recent and the latest log file.
For example if I have the following file list:
How to list only the below mentioned files:
Please note that I don't have any permissions to write a shell script on this folder. Kindly help!
Thanks
Shash
Last edited by Yogesh Sawant; 08-27-2010 at 10:47 AM..
Reason: added code tags
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
rapid
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)