03-03-2008
Have a look at the manpage for the "find" command. It can do all of that and more.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have written a script that traps errors on different servers from the log files based on the current system date. The trapped errors are written to a file and file is sent as an attachment to an email.
I would like to run this script for every 2hrs. when i run the script from the second... (0 Replies)
Discussion started by: itzcoolbuddy
0 Replies
2. Shell Programming and Scripting
Hi,
Can any one help me how to create folders using shellscript.My requirement is:
FolderName: Main/Main1
:Main/Main2
:Main/Main3
underSubFolder : Main1/A
:Main1/B
:Main1/C
underSubfolder: A/A1
... (2 Replies)
Discussion started by: ram2s2001
2 Replies
3. UNIX for Advanced & Expert Users
HI,
I have the following command that shows me the total size of folders and subfolders :
du -hs *| sort -n
result:
1.0M sandeep
1.4G sandy
1.4M important
1.6M files
but I will need to know the size of folders and its subfolders( not size of individual files though)... (5 Replies)
Discussion started by: bsandeep_80
5 Replies
4. Windows & DOS: Issues & Discussions
Sir
From a unix machine some folders and their folders have to be copied to windows XP PC. Please help me with a batch file or a shell script. I am new to the the shell and batch files. Thanks in anticipation.
sastry (3 Replies)
Discussion started by: chssastry
3 Replies
5. Shell Programming and Scripting
Hi,
I need help in writing a script to search a particular text in multiple files present in folders and sub folders and replace it with another string which also has special characters like '&', '|', etc.. I know sed command will be used to replace the text but i'm not sure how to use it for... (5 Replies)
Discussion started by: Asheesh
5 Replies
6. Shell Programming and Scripting
Hi Unix Gurus,
I am able to copy only files that exist in the parent folder. My parent folder has sub folders and within sub folders there are lots files.
I need to copy folder, sub folders and files from Unix to the remote windows SFTP location.
The directory structure is something like... (1 Reply)
Discussion started by: shankar1dada
1 Replies
7. Shell Programming and Scripting
Hi,
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
total 8
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
$
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies
8. Shell Programming and Scripting
Hello,
Greetings!
please help me produce the following solution. I need
to produce one big matrix file from several files in different levels.
If it helps, the index folder provides information on chromosome index and
the data folder provides information on values for chromosomes.
there... (8 Replies)
Discussion started by: newbie83
8 Replies
9. Shell Programming and Scripting
I am trying to move specific folders and subfolders within a directory using the below. I can see the folders to move and they are at the location, but I am getting an error. Thank you :).
mv -v /home/cmccabe/Desktop/NGS/API/6-10-2016{bam/{validation,coverage},bedtools /media/cmccabe/"My... (6 Replies)
Discussion started by: cmccabe
6 Replies
10. UNIX for Beginners Questions & Answers
Hi there!
I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!),
I would love some help figuring out this basic command (what I assume is basic).
I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
9 Replies
LEARN ABOUT DEBIAN
prima::helpviewer
Prima::HelpViewer(3) User Contributed Perl Documentation Prima::HelpViewer(3)
NAME
Prima::HelpViewer - the built-in pod file browser
USAGE
The module presents two packages, "Prima::HelpViewer" and "Prima::PodViewWindow". Their sole purpose is to serve as a mediator between
"Prima::PodView" package, the toolkit help interface and the user. "Prima::PodViewWindow" includes all the user functionality, including (
but not limited to :) text search, color and font setup, printing etc. "Prima::HelpViewer" provides two methods - "open" and "close", used
by "Prima::Application" for help viewer invocation.
Help
The browser can be used to view and print POD ( plain old documentation ) files. See the command overview below for more detailed
description:
File
Open
Presents a file selection dialog, when the user can select a file to browse in the viewer. The file must contain POD content,
otherwise a warning is displayed.
Goto
Asks for a manpage, that is searched in PATH and the installation directories.
New window
Opens the new viewer window with the same context.
Run Commands in this group call external processes
p-class
p-class is Prima utility for displaying the widget class hierachies. The command asks for Prima class to display the hierachy
information for.
Print
Provides a dialog, when the user can select the appropriate printer device and its options.
Prints the current topic to the selected printer.
If "Full text view" menu item is checked, prints the whole manpage.
Close window
Closes the window.
Close all windows
Closes all help viewer windows.
View
Increase font
Increases the currently selected font by 2 points.
Decrease font
Decreases the currently selected font by 2 points.
Full text view
If checked, the whole manpage is displayed. Otherwise, its content is presented as a set of topic, and only one topic is displayed.
Find
Presents a find dialog, where the user can select the text to search and the search options - the search direction, scope, and
others.
Find again
Starts search for the text, entered in the last find dialog, with the same search options.
Fast find
The following commands provide a simple vi-style text search functionality - character keys ?,/,n,N bound to the commands below:
Forward
Presents an input line where a text can be entered; the text search is performed parallel to the input.
Backward
Same as Forward option, except that the serach direction is backwards.
Repeat forward
Repeat the search in the same direction as the initial search was being invoked.
Repeat backward
Repeat the search in the reverse direction as the initial search was being invoked.
Setup
Presents a setup dialog, where the user can select appropriate fonts and colors.
Go
Back
Displays the previously visited manpage ( or topic )
Forward
Displays the previously visited manpage ( or topic ), that was left via Back command.
Up Displays the upper level topic within a manpage.
Previous
Moves to the previous topic within a manpage.
Next
Moves to the next topic within a manpage.
Help
About
Displays the information about the help viewer.
Help
Displays the information about the usage of the help viewer
AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>.
COPYRIGHT
This program is distributed under the BSD License.
perl v5.14.2 2009-02-24 Prima::HelpViewer(3)