Hey guys,
I would like to find all files which contain "client1.dat". I would like to search from the current directory and all subs and print out all the files that have this. Any help would be greatly appreciated.
Thanks much. (10 Replies)
I have a directory which is /home/mark/files/ , inside this particular I have a bunch of filles (see examples below)
TST_SHU_00014460_20090302.txt
TST_SHU_00016047_20090302.txt
TST_SHU_00007838_20090303.txt
TST_SHU_00056485_20090303.txt
TST_SHU_00014460_20090303.txt... (2 Replies)
Hey all.. This should be simple but stoopid here can't get head around it! I have many directories, say 100 each with many files inside. I need a script to traverse through the dirs, find most recent file in each dir and add it to a tar file.
I can find the files with something like
for... (1 Reply)
I'm sure this has been asked before but I couldn't find it with the search. I have a script that looks for files and then moves to another location for further processing. My problem is I can't seem to prune the .s* directories. It doesn't break anything just wanted a cleaner process.
Here... (4 Replies)
To find a word from multiple level files:
"find . -type f -exec grep {} +" is working on UNIX machines but not working on Linux machine. What is the equivalent command on Linux to find the word from multiple level files?
Input is appreciated. (3 Replies)
Can someone tell me how I can do this?
e.g:
Say file1.txt contains:
today is monday
the 22 of
NOVEMBER
2010
and file2.txt contains:
the
11th
month
of
How do i replace the word NOVEMBER with (5 Replies)
Hi Experts,
I want to find all the dirs , subdirs on the sever which start with "sr".
Can anyone let me know command for the same.
find . -type d -name sr* I tried this but it is not working.
Thanks,
Ajay (4 Replies)
Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ?
The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string in several php files across subdirectories.
So lets say im at root/dir1/dir2/ , when i execute... (12 Replies)
Hello,
I need to replace xml version='1.1' with xml version='1.0' in all xml files under /app/jenkins/ in all dir and sub dirs in my CentOS VM, I tried below command but it didn't help, looks like I'm missing a character somewhere.
grep -rl "xml version='1.1'" . | xargs sed -i 's/"xml... (2 Replies)
Discussion started by: mahesh Madpathi
2 Replies
LEARN ABOUT DEBIAN
imdb-get
IMDB-TOOLS(1) General Commands Manual IMDB-TOOLS(1)NAME
imdb-get -- Looks up IMDB data for a film.
SYNOPSIS
imdb-get [options] [--imdb-id id] [-l id] [--search search string] [-s search string] [--filename filename] [-f filename] [-h ]
[--help]
DESCRIPTION
This manual page documents briefly the imdb-get command.
imdb-get has three modes. It can be called with imdb ID and a set of details to print, in which case it will retrieve those details either
from the cache or IMDB. Secondly, it can be called with a filename in which case it will look the file up in the cache (resolving symlinks
as appropriate and checking for multiple disks from the same film) and if that fails it will use the filename to search IMDB. Alterna-
tively it may be used with just a search string, which will always search IMDB.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-h--help
Print syntax and options.
-l--imdb-id
Specify IMDBID to use in queries.
-s--search
Specify search string to use in queries.
-f--filename
Specify filename. Will be used to form search queries if no ID or search string is specified.
-i--id
Print IMDB ID (default if nothing else is selected).
-t--title
Print film title.
-g--genre
Print film genres.
--tag
Print film tag line.
-y--year
Print film year.
-c--cover
Print cover art URI.
-m--print-filename
Print film genres.
-a--all
Print all film details.
-e--cachedir
Set cache directory.
-d--download-cover
Download cover art locally.
-r--refresh
Force an update from IMDB not the cache.
-n--rename
Rename file based on IMDB title.
-u--update-filename
Update the filename in a stored record
--prune-duplicates
Removes cache files with duplicate filename entries. (Removes all but the most recently modified cache file)
--refresh-cache
Refresh all the details in the cache from IMDB (may be slow).
FILES
Config options are read from /etc/imdbgetrc or $HOME/.imdbgetrc
SEE ALSO imdb(1)imdb-rename(1)imdb-link(1)imdb-update-cache(1)imdbgetrc(5)imdb-fxd(1)AUTHOR
This manual page was written by Matthew Johnson <debian@matthew.ath.cx>. Permission is granted to copy, distribute and/or modify this docu-
ment under the terms of the GNU General Public License, Version 2 as published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
IMDB-TOOLS(1)