12-19-2007
Have you considered using "mv" ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
how can I get only useful results from
find / -size 10000000
without the "Permissions denied" files ?
tks
C (5 Replies)
Discussion started by: Carmen123
5 Replies
2. UNIX for Dummies Questions & Answers
Hi--
Ok. I have now found that:
find -x -ls
will do what I need as far as finding all files on a particular volume. Now I need to sort the results by the file's modification date/time.
Is there a way to do that?
Also, I notice that for many files, whereas the man for find says ls is... (8 Replies)
Discussion started by: groundlevel
8 Replies
3. Shell Programming and Scripting
Hi
Purpose is to have a utility command to find and edit files .
I tried a function like the following in my .profile file
function vifind(){
find . -name $1 -print -exec vi {} \;
}
Is this correct? is there a better way to do it?
I see this behaving a bit strange in case of AIX, and... (6 Replies)
Discussion started by: grep_whoami
6 Replies
4. Shell Programming and Scripting
When I execute this line at the command prompt I get a different answer than when I run it in a script? Any ideas on how to resolve? I'm trying to find all files/dir in a directory except files that start with the word file.
Once I get this command to work, I will add the "delete" part to the... (6 Replies)
Discussion started by: blt123
6 Replies
5. UNIX for Dummies Questions & Answers
TIA,
I'm using FreeBSD 6
I have a series of Directories (A,B,C,...Z). Each directory has files and other directories within it.
I want to compress the contents of each top directory into a single file so that I get an archive of each directory (for example, A.gzip) AND and want to move... (5 Replies)
Discussion started by: jccbin
5 Replies
6. Shell Programming and Scripting
Hi,
I am a newbie to shell scripting. here is my objective:
1)The shell program should take 2 parameters - ie-> DestinationFolder, WebFolder
2)Destination folder contains few files that has to has be verified and deleted.
3)WebFolder is a folder containing a list of master files
4)It... (1 Reply)
Discussion started by: sandhyagupta
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a problem with a shell script.
The script should find all .cpp and .h files and list them.
With:
for file in `find $src -name '*.h' -o -name '*.cpp'
it gives out this:
H:\FileList\A\E\F\G\newCppFile.cpp
H:\FileList\header01.h
H:\FileList\B\nextCppFile.cpp
... (4 Replies)
Discussion started by: shellBeginner75
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Am running the command below to search for files that contains a certain string.
grep -il "shutdown" `find . -type f -mtime -1 -print` | grep "^./scripts/active"
How do I get it to do a ls -l on the list of files? I tried doing ls -l `grep -il "shutdown" `find . -type f -mtime -1... (5 Replies)
Discussion started by: newbie_01
5 Replies
9. Shell Programming and Scripting
Hey,
I am writing a script to delete log files that are older than one day (I'm going to run it weekly). Basically, it should work so that it only keeps the current day, but keeping the previous day as well isn't a dealbreaker.
I am running the following line on the files listed below:
... (1 Reply)
Discussion started by: unaligned
1 Replies
10. UNIX for Beginners Questions & Answers
Hello and thanks in advance for any help anyone can offer me
I'm trying to learn the find command and thought I was understanding it... Apparently I was wrong. I was doing compound searches and I started getting weird results with the -size test. I was trying to do a search on a 1G file owned by... (14 Replies)
Discussion started by: bodisha
14 Replies
LEARN ABOUT DEBIAN
hwloc_distances_s
hwloc_distances_s(3) Hardware Locality (hwloc) hwloc_distances_s(3)
NAME
hwloc_distances_s -
SYNOPSIS
#include <hwloc.h>
Data Fields
unsigned relative_depth
unsigned nbobjs
float * latency
float latency_max
float latency_base
Detailed Description
Distances between objects.
One object may contain a distance structure describing distances between all its descendants at a given relative depth. If the containing
object is the root object of the topology, then the distances are available for all objects in the machine.
If the latency pointer is not NULL, the pointed array contains memory latencies (non-zero values), as defined by the ACPI SLIT
specification.
In the future, some other types of distances may be considered. In these cases, latency may be NULL.
Field Documentation
float* hwloc_distances_s::latency
Matrix of latencies between objects, stored as a one-dimension array. May be NULL if the distances considered here are not latencies.
Values are normalized to get 1.0 as the minimal value in the matrix. Latency from i-th to j-th object is stored in slot i*nbobjs+j.
float hwloc_distances_s::latency_base
The multiplier that should be applied to latency matrix to retrieve the original OS-provided latencies. Usually 10 on Linux since ACPI SLIT
uses 10 for local latency.
float hwloc_distances_s::latency_max
The maximal value in the latency matrix.
unsigned hwloc_distances_s::nbobjs
Number of objects considered in the matrix. It is the number of descendant objects at relative_depth below the containing object. It
corresponds to the result of hwloc_get_nbobjs_inside_cpuset_by_depth.
unsigned hwloc_distances_s::relative_depth
Relative depth of the considered objects below the object containing this distance information.
Author
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Version 1.4.1 Mon Feb 27 2012 hwloc_distances_s(3)