Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Find files and display only directory list containing those files Post 302308258 by vgersh99 on Friday 17th of April 2009 01:36:58 PM
Old 04-17-2009
Code:
find . -type f -name '*.pdf' |sed 's#\(.*\)/.*#\1#' |sort -u

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tail-alike display of new files in directory

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 need a script to find socials in files and output a list of those files

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

how to display paths of files in a directory

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

find list of files from a list and copy to a directory

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

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

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 excluding hidden files and directories

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

Please help list/find files greater 1G move to different directory

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

Find a list of files in directory, move to new, allow duplicates

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

Apache2 does not display files inside directory

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
BOOKLETIMPOSER(1)					      General Commands Manual						 BOOKLETIMPOSER(1)

NAME
bookletimposer - An utility to reorganize PDF pages SYNOPSIS
bookletimposer [options] [input-file] bookletimposer -a [options] input-file DESCRIPTION
bookletimposer is an utility to achieve some basic imposition on PDF documents, especially designed to work on booklets. It allows: o to transform linear documents to booklets; o to reduce a document to put many on one sheet (for tracts for example); o to transform booklets to linear documents. It is a free software released under the GNU General Public License, either version 3 or (at your option) any later version. OPTIONS
--version show program's version number and exit. -h, --help show an help message and exit. -o OUTFILE, --output=OUTFILE set output PDF file to OUTFILE. -a, --no-gui automatic converstion (don't show the user interface). In that mode, the input file must be defined. -i, --gui show the user interface (default). -b, --booklet produce a booklet out of a linear document (default). -l, --linearize produce a linear document out of a booklet. -n, --no-reorganisation don't reorganize (will only scale and assemble pages). -c, --copy-pages copy the same group of input pages on one output page. -p PAGES_PER_SHEET, --pages-per-sheet=PAGES_PER_SHEET number of pages per sheet, in the format HORIZONTALxVERTICAL, e.g. 2x1. -f OUTPUT_FORMAT, --format=OUTPUT_FORMAT output page format, e.g. A4 or A3R. -k, --keep do not overwrite output file if it exists. EXAMPLES
bookletimposer Displays the GTK+ user interface. bookletimposer --no-gui --booklet --pages-per-sheet=2x1 --output=out.pdf in.pdf Converts in.pdf into a booklet with two pages per sheet an saves the result as out.pdf. bookletimposer --no-gui --linearise --pages-per-sheet=2x1 in.pdf Converts the two-pages-per-sheet booklet in.pdf into a page-by-page PDF. As the output file name is not defined, it will default to in- conv.pdf. SEE ALSO
pdfshuffler(1) BookletImposer source code and documentation can be found on the web at <https://kjo.herbesfolles.org/bookletimposer/> KNOWN ISSUES
BookletImposer is under development, which means that for the moment, some things work, some others do not... Thanks to report bugs to <kjo@a4nancy.net.eu.org> if you find some! AUTHORS
Kjo Hansi Glaz <kjo@a4nancy.net.eu.org>. bookletimposer user manual 2012 BOOKLETIMPOSER(1)
All times are GMT -4. The time now is 02:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy