Hello there,
As a newbie:
The directories in PATH can be hard to distinguish when printed out as
one line with colon .Please, can i have a sample script to display
them,one to a line.
Thank you. (1 Reply)
hi
I wanted to export the display of all directories of home with their respective subdirectories and files if any on my local pc.
this home directory is of some remote machine .
using ssh remote login and then using struct direct i can just gate name list of directories .
but not the display... (2 Replies)
Cannot find how to list the directory structure of a volume recursively. Do not want the files reported. Say I have 100 directories and 10,000 files, I do not want 10,000 lines of output. (If this is relevant, I am using the terminal on my OSX Mac). I hope this is easy - there should be an easy... (5 Replies)
Hi Genius,
I would like to display all the subdirectories only with timestamp.
For exmple:
Given Directory : orabkup
/orabkup
total 11365112
drwxr-xr-x 9 oracle oradba 256 Jan 03 16:01 db1
/orabkup/db1:
total 0
drwxr-xr-x 2 oracle oradba 256 Jan 03 16:01... (8 Replies)
Hi,
I am new to Unix.
I want to display top 10 folders by size.
I tried with
du -ksl * | sort -nr | head -10
command .But I am getting the following error
-bash: /usr/bin/du: Argument list too long
Can some one help me.
Thanks. (5 Replies)
How to run a script/command on all the directories in a directory tree?
The below script is just for the files in a single directory, how to run it on all the directories in a directory tree?
#!/bin/sh
for audio_files in *.mp3
do
outfile="${audio_files%.*}.aiff"
sox "$audio_files"... (2 Replies)
Trying to locate the 25 largest files with read/execute world permissions to be displayed from a combination of 4 different directories. I'm rather new at UNIX and trying to learn the basics.
This is what I have come up with so far:
find /dir1 /dir2 /dir3 /dir4 -perm -u+rx | sort -nr | head... (1 Reply)
Discussion started by: malk71
1 Replies
LEARN ABOUT DEBIAN
blt_treeexists
Blt_TreeExists(3) BLT Library Procedures Blt_TreeExists(3)__________________________________________________________________________________________________________________________________________________NAME
Blt_TreeExists - Indicates if a tree exists.
SYNOPSIS
#include <bltTree.h>
int
Blt_TreeExists(interp, name)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter to determine current namespace context.
const char *name (in) Name of an existing tree data object. Can be qualified by a namespace.
_________________________________________________________________DESCRIPTION
This procedure determines if a C-based tree data object exists by a given name. The arguments are as follows:
interp Used the determine the current namespace context.
name Name of an existing tree data object. Name can be qualified by a namespace such as fred::myTree. If no namespace qualifier is
used, the current namespace is searched, then the global namespace.
RETURNS
A boolean result is returned. If the tree exists 1 is returned, 0 otherwise.
EXAMPLE
The following example checks if a tree "myTree" exists.
if (!Blt_TreeExists(interp, "myTree")) {
fprintf(stderr, "can't find tree "myTree\n");
}
KEYWORDS
tree, token Tcl_TreeCreate, Tcl_TreeGetToken, Tcl_TreeReleaseToken
BLT 2.4 Blt_TreeExists(3)