Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Listing files with their parent dir? Post 303007711 by Scott on Monday 20th of November 2017 02:58:04 PM
Old 11-20-2017
Hey, Robin.

My understanding was to find all the .html files under some tree, regardless of where they are within that structure, and show all of them with their parent directory.

Neither of your solutions does quite that (the second one I presume to be a 'cut-and-paste' error, as there's no find in that Smilie).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

advanced dir listing

Hi i know this Q might seem retarded... yet, i can't find a solution. i need a bash script that recursively prints like this: mydir/ myfile1 114 06 Aug 2006 myfile2 234 14 Jun 2006 mydir/mysubdir1/ myfile3 32 18 Feb 2006 mydir/mysubdir1/mysubsubdir1/ myfile4 5324 06 Aug 2006 ... (2 Replies)
Discussion started by: xenophobian
2 Replies

2. UNIX for Dummies Questions & Answers

listing home dir of anothe user

Hi I am trying to display the home directory of another user. I dont have the permissions to change into their directory and wonder is it possible to display their directory eg I cant change directory to john but I am trying to display something like /home/John. If anyone can help I would... (3 Replies)
Discussion started by: mmg2711
3 Replies

3. Shell Programming and Scripting

full path of a file situated either in parent's dir. or parent's parent dir. so on...

hi experts(novice people can stay away as it is no child's game), i am developing a script which works like recycle bin of windows. the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Discussion started by: yahoo!
1 Replies

4. Shell Programming and Scripting

Rename a file after the name of its parent dir

Started a thread in beginners but I thought someone from this forum may have an idea as well. Thanks! EDITED BY REBORG (3 Replies)
Discussion started by: robotsbite
3 Replies

5. Shell Programming and Scripting

A script to find dir, delete files in, and then del dir?

Hello!! I have directories from 2008, with files in them. I want to create a script that will find the directoried from 2008 (example directory: drwxr-xr-x 2 isplan users 1024 Nov 21 2008 FILES_112108), delete the files within those directories and then delete the directories... (3 Replies)
Discussion started by: bigben1220
3 Replies

6. UNIX for Dummies Questions & Answers

Listing files in a non-parent directory

Hi, Edit: The title should really read listing files in a non-parent directory, sorry! Im trying to get one of my Bash scripting assignments done for uni and now I'm stuck. This is probably going to be one of those kick yourself moments but, in my script I have a variable usrDir which... (2 Replies)
Discussion started by: Adzi
2 Replies

7. Windows & DOS: Issues & Discussions

DOS Dir - listing of full path and timestamp

Hi, (Apologies, I'm sure I'm not the first person to raise this question but so far in my searches haven't found a good answer). I would like to output a listing per line of filename (including full path) and 'last updated' timestamp. e.g: Z:\dir1\file1.txt 01/02/2010 10:43... (5 Replies)
Discussion started by: GM_AIX
5 Replies

8. UNIX for Dummies Questions & Answers

How to list all files in dir and sub-dir's recursively along with file size?

I am very new to unix as well as shell scripting. I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies

9. Shell Programming and Scripting

KSH - Find paths of multiple files in CC (dir and sub-dir))

Dear Members, I have a list of xml files like abc.xml.table prq.xml.table ... .. . in a txt file. Now I have to search the file(s) in all directories and sub-directories and print the full path of file in a output txt file. Please help me with the script or command to do so. ... (11 Replies)
Discussion started by: Yoodit
11 Replies

10. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies
QHBoxLayout(3qt)														  QHBoxLayout(3qt)

NAME
QHBoxLayout - Lines up widgets horizontally SYNOPSIS
#include <qlayout.h> Inherits QBoxLayout. Public Members QHBoxLayout ( QWidget * parent, int margin = 0, int spacing = -1, const char * name = 0 ) QHBoxLayout ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) QHBoxLayout ( int spacing = -1, const char * name = 0 ) ~QHBoxLayout () DESCRIPTION
The QHBoxLayout class lines up widgets horizontally. This class is used to construct horizontal box layout objects. See QBoxLayout for more details. The simplest use of the class is like this: QBoxLayout * l = new QHBoxLayout( widget ); l->setAutoAdd( TRUE ); new QSomeWidget( widget ); new QSomeOtherWidget( widget ); new QAnotherWidget( widget ); or like this: QBoxLayout * l = new QHBoxLayout( widget ); l->addWidget( existingChildOfWidget ); l->addWidget( anotherChildOfWidget ); <center> [Image Omitted] </center> See also QVBoxLayout, QGridLayout, the Layout overview, Widget Appearance and Style, and Layout Management. MEMBER FUNCTION DOCUMENTATION
QHBoxLayout::QHBoxLayout ( QWidget * parent, int margin = 0, int spacing = -1, const char * name = 0 ) Constructs a new top-level horizontal box called name, with parent parent. The margin is the number of pixels between the edge of the widget and its managed children. The spacing is the default number of pixels between neighboring children. If spacing is -1 the value of margin is used for spacing. QHBoxLayout::QHBoxLayout ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) Constructs a new horizontal box called name name and adds it to parentLayout. The spacing is the default number of pixels between neighboring children. If spacing is -1, this QHBoxLayout will inherit its parent's spacing(). QHBoxLayout::QHBoxLayout ( int spacing = -1, const char * name = 0 ) Constructs a new horizontal box called name name. You must add it to another layout. The spacing is the default number of pixels between neighboring children. If spacing is -1, this QHBoxLayout will inherit its parent's spacing(). QHBoxLayout::~QHBoxLayout () Destroys this box layout. The layout's widgets aren't destroyed. SEE ALSO
http://doc.trolltech.com/qhboxlayout.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qhboxlayout.3qt) and the Qt version (3.3.8). Trolltech AS 2 February 2007 QHBoxLayout(3qt)
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy