Hi
I am a shell-script newbie and am looking to synchronize certain files in two directory structures.
Both these directory-trees are in CVS and so I dont want the CVS directory to be copied over.
I want only .sh and .pl files in each subdirectory under these directory trees to be... (3 Replies)
Dear All,
Appreciate some help here.
I have a log of report. It located in several directory as below:
Directory:
mysscpr1
mysscpr2
mysscpr3
my_scnpr4
In the directory it contain hundred of files.
i need to find a specific files that contain 'invc2345' in the directory.
How... (7 Replies)
I have to write a shell script which can delete all the files and directories recursively inside the specified directory but should not delete the specified directory.
Please some body help me in writing the script. (3 Replies)
I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find )
The directory structure looks like :-
/tmp
a.log
b.log
c.log
/abcd
d.log
e.log
When I tried the following command , it movies all the log files... (8 Replies)
Hi All,
I have searched this forum for related posts but could not find one that fits mine. I have a shell script which removes all the XML tags including the text inside the tags from some 4 million XML files.
The shell script looks like this (MODIFIED):
find . "*.xml" -print | while read... (6 Replies)
Pls. advise how to find or used grep recursively all shell script files.
Some files doesnt have a .sh or .ksh extension name.
find / -name "*" |xargs grep bin |grep sh
??
TIA (1 Reply)
Hi,
Is there a way to find all the files from a specific location and then zip them into a single file, even if they are in multiple directories? (3 Replies)
Hi,
I have to find specific files only in the current directory...not in the sub directories.
But when I use Find command ... it searches all the files in the current directory as well as in the subdirectories. I am using AIX-UNIX machine.Please help..
I am using the below command. And i am... (2 Replies)
Is it possible to only copy selected files+its directories when you are copying recursively?
find /OriginalFolder/* -type -d \{ -mtime 1 -o -mtime 2 \ } -exec cp -R {} /CopyTo/'hostname'__CopyTo/ \; -print
From the above line, I want to only copy *txt and *ini files from /OriginalFolder/*
... (4 Replies)
I need to copy a complete directory structure into a new location. But I want to have all files copied into one directory and leave out the directory structure. So all files must be placed in one directory. (4 Replies)
Discussion started by: ReneVL
4 Replies
LEARN ABOUT DEBIAN
ohcount
OHCOUNT(1) User Commands OHCOUNT(1)NAME
ohcount - manual page for ohcount 3.0.0
SYNOPSIS
ohcount [option] [paths...]
DESCRIPTION
Ohloh source code line counter command line tool.
http://www.ohloh.net/
[option] can be one of the following:
-a, --annotate
-d, --detect
-h, --help
-i, --individual
-l, --license
-re
-s, --summary
-a, --annotate Show annotated source code
The contents of all source code files found within the given paths will be emitted to stdout. Each line will be prefixed with a
tab-delimited language name and semantic categorization (code, comment, or blank).
-d, --detect Find source code files
Recursively find all source code files within the given paths. For each source code file found, the file name will be emitted to
stdout prefixed with a tab-delimited language name.
-h, --help Display this message
-i, --individual Count lines of code per file
Count lines in all source code files within the given paths, and emit a report of the lines of code, comments, and blanks in each
language per file.
-l, --license
Displays detected licensing information contained in each source code file.
-re
Prints raw entity information to the screen (mainly for debugging).
-s, --summary Count lines of code (default)
Count lines in all source code files within the given paths, and emit a report of the total number of lines of code, comments, and
blanks in each language. This is the default action.
[paths] can refer to any number of individual files or directories.
Directories will be probed recursively. If no path is given, the current directory will be used.
ohcount 3.0.0 September 2011 OHCOUNT(1)