04-17-2009
Find files and display only directory list containing those files
I have a directory (and many sub dirs beneath) on AIX system, containing thousands of file. I'm looking to get a list of all directory containing "*.pdf" file.
I know basic syntax of find command, but it gives me list of all pdf files, which numbers in thousands. All I need to know is, which directory has pdf files, not the name of the files itself.
any help would be appreciated,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The system I work on, produces several kinds of status-files in a single directory. I would like to be able to see the files as they are added to this directory.
I was wondering if it would be possible to get a "tail -f" alike view of the ls-command, in such a way that a newly added file is... (4 Replies)
Discussion started by: rschelkers
4 Replies
2. Shell Programming and Scripting
I am trying to find socail security numbers in files in (and under) a specific directory and output a list of the files where they are found... the format would be with no dashes just 9 numeric characters in a row.
I have tried this:
find /DirToLookIn -exec grep '\{9\}' /dev/null {} \; >>... (1 Reply)
Discussion started by: NewSolarisAdmin
1 Replies
3. UNIX Desktop Questions & Answers
hi guys
does anyone know how to display the file paths of the files stored within a directory at the command terminal?
e.g. if i have a directory called "home", how do i display the file paths of the files inside the directory?
cheers (2 Replies)
Discussion started by: Villaman69
2 Replies
4. Shell Programming and Scripting
I will be very grateful if someone can help me with bash shell script that does the following:
I have a list of filenames:
A01_155716
A05_155780
A07_155812
A09_155844
A11_155876
that are kept in different sub directories within my current directory. I want to find these files and copy... (3 Replies)
Discussion started by: manishabh
3 Replies
5. Solaris
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46
Any ideas how can we do this? :wall: (1 Reply)
Discussion started by: jakerock
1 Replies
6. Solaris
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46Any ideas how can we do this?
Got a sun cluser global mount point which takes ages to mount everytime, need to understand... (5 Replies)
Discussion started by: jakerock
5 Replies
7. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
8. Shell Programming and Scripting
I have have 6 empty directory below. I would like write bash scipt if any files less "1000000000" bytes then move to "/export/home/mytmp/final" folder first and any files greater than "1000000000" bytes then move to final1, final2, final3, final4, final4, final5 and that depend see how many files,... (6 Replies)
Discussion started by: dotran
6 Replies
9. UNIX for Dummies Questions & Answers
Greetings. I know enough Unix to be dangerous (!) and know that there is a clever way to do the following and it will save me about a day of agony (this time) and I will use it forever after! (many days of agony saved in the future)!
Basically
I need to find any image files (JPGs, PSDs etc)... (5 Replies)
Discussion started by: Clyde Lovett
5 Replies
10. Web Development
Hello,
I have been running Ubuntu14.04 + apache2.
000-default.conf:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory... (5 Replies)
Discussion started by: baris35
5 Replies
LEARN ABOUT DEBIAN
open_jtalk
open_jtalk(1) General Commands Manual open_jtalk(1)
NAME
open_jtalk -- Japanese TTS system
SYNOPSIS
open_jtalk [options] [infile]
DESCRIPTION
This manual page documents briefly the open_jtalk command.
This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has docu-
mentation in the GNU Info format; see below.
open_jtalk is a program that synthesize speech waveform from Japanese texts. It uses HMMs trained by the HMM-based speech synthesis system
(HTS).
OPTIONS
A summary of options is included below.
-x dir dictionary directory
-td tree decision tree files for state duration
-tm tree Show version of program.
-tf tree decision tree files for Log F0
-tl tree decision tree files for low-pass filter
-md pdf model files for state duration
-mm pdf model files for spectrum
-mf pdf model files for Log F0
-ml pdf model files for low-pass filter
-dm win window files for calculation delta of spectrum
-df win window files for calculation delta of Log F0
-dl win window files for calculation delta of low-pass filter
-ow s filename of output wav audio (generated speech)
-ot s filename of output trace information
-s i sampling frequency [16000][1--48000]
-p i frame period (point) [80][1--]
-a f all-pass constant [0.42][0.0--1.0]
-g i gamma = -1 / i (if i=0 then gamma=0) [0][0--]
-b f postfiltering coefficient [0.0][-0.8--8.0]
-l regard input as log gain and output linear one (LSP)
-u f voiced/unvoiced threshold[0.5][0.0--1.0]
-em tree decision tree files for GV of spectrum
-ef tree decision tree files for GV of Log F0
-el tree decision tree files for GV of low-pass filter
-cm pdf filenames of GV for spectrum
-cf pdf filenames of GV for Log F0
-cl pdf filenames of GV for low-pass filter
-jm f weight of GV for spectrum [1.0][0.0--2.0]
-jf f weight of GV for Log F0 [1.0][0.0--2.0]
-jl f weight of GV for low-pass filter [1.0][0.0--2.0]
-k tree GV switch
-z i audio buffer size [1600][0--48000]
infile text file
option '-d' may be repeated to use multiple delta parameters. generated spectrum, log F0, and low-pass filter coefficient sequences are
saved in natural endian, binary (float) format.
EXAMPLE
If you installed hts-voice-nitech-jp-atr503-m001 in the current directory, the following command let you make a voice file from input.txt:
% open_jtalk -s 48000 -p 240 -a 0.55
-td tree-dur.inf -tm tree-mgc.inf -tf tree-lf0.inf
-tl tree-lpf.inf -md dur.pdf -mm mgc.pdf
-mf lf0.pdf -ml lpf.pdf -dm mgc.win1
-dm mgc.win2 -dm mgc.win3 -df lf0.win1
-df lf0.win2 -df lf0.win3 -dl lpf.win1
-em tree-gv-mgc.inf -ef tree-gv-lf0.inf -cm gv-mgc.pdf
-cf gv-lf0.pdf -k gv-switch.inf -ow output.wav
-x dic_dir input.txt
AUTHOR
This manual page was written by Koichi Akabe vbkaisetsu@gmail.com for the Debian system (and may be used by others). Permission is granted
to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version 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.
open_jtalk(1)