"*.*" is a DOS thing, UNIX doesn't use file extensions or do that kind of wildcard match, and you don't need to specify any names at all for find to find everything.
Hi,
By default FIND command searches for matching files in all the subdirectories within the specified path.
Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.
Any help would be more than appreciated.
Thanks and Regards (2 Replies)
Hi All
I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age.
I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Dear All,
I have created a user called "x" who is allowed only to FTP and it is working fine. Here my problem is, I want to give access to a particular directory say for eg:- /dump/test directory. I don't find any option in the useradd command to restrict access to this particular directory only... (1 Reply)
Hi,
I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP.
The aim is to... (1 Reply)
Hello,
I want to restrict access to our Subversion repositories to only our internal network.
I have a virtual host directive setup in Apache for the IP and port 443. When I put the following:
<VirtualHost 205.147.86.33:443>
<Directory "/var/www/svn/">
Order deny,allow
AllowOverride... (0 Replies)
Hello,
I want to restrict access to our Subversion repositories to only our internal network.
I have a virtual host directive setup in Apache for the IP and port 443. When I put the following:
<Directory "/var/www/svn/">
Order allow,deny
AllowOverride None
Allow from 10.5.10.0/24
Allow... (1 Reply)
Hi,
Is there a way to zip the content (recursively) of a folder other then the current directory, and keep the directory structure intact?
Example:
/var/tmp/myfolder
----------------- file1
----------------- file2
----------------- folder1
------------------------ file3
Now I want... (3 Replies)
I found this old closed thread:
I can do these things, but how to I change someone's profile - where do I find the profile? I'm running Centos 5.6
~~~~~~~~~
providing you have the password shell set to ksh,
you can put this in his .profile:
cd /opt/load
alias -x cd=: (6 Replies)
Hi All,
I am trying to delete file (with a mtime older than 2 days) from the current directory ONLY using:
find . -daystart -maxdepth 1 -mtime 2 -exec rm {} \;
but this doesn't seem to work it is still find files in subdirectories which I don't want to delete.
Please can anyone offer... (2 Replies)
Hi all,
I have a web site that I'm serving on an Apache server, and it has a number of different folders, but I only want the user to be able to access certain ones -- the majority of them I don't want the user to access. I tried modifying my /etc/apache2/conf.d/security file to do this, but I... (1 Reply)
Discussion started by: Zel2008
1 Replies
LEARN ABOUT REDHAT
find
find(n) [incr Tcl] find(n)
NAME
find - search for classes and objects
SYNOPSIS
find option ?arg arg ...?
DESCRIPTION
The find command is used to find classes and objects that are available in the current interpreter. Classes and objects are reported first
in the active namespace, then in all other namespaces in the interpreter.
The option argument determines what action is carried out by the command. The legal options (which may be abbreviated) are:
find classes ?pattern?
Returns a list of [incr Tcl] classes. Classes in the current namespace are listed first, followed by classes in all other names-
paces in the interpreter. If the optional pattern is specified, then the reported names are compared using the rules of the "string
match" command, and only matching names are reported.
If a class resides in the current namespace context, this command reports its simple name--without any qualifiers. However, if the
pattern contains :: qualifiers, or if the class resides in another context, this command reports its fully-qualified name. There-
fore, you can use the following command to obtain a list where all names are fully-qualified: find classes ::*
find objects ?pattern? ?-class className? ?-isa className?
Returns a list of [incr Tcl] objects. Objects in the current namespace are listed first, followed by objects in all other names-
paces in the interpreter. If the optional pattern is specified, then the reported names are compared using the rules of the "string
match" command, and only matching names are reported. If the optional "-class" parameter is specified, this list is restricted to
objects whose most-specific class is className. If the optional "-isa" parameter is specified, this list is further restricted to
objects having the given className anywhere in their heritage.
If an object resides in the current namespace context, this command reports its simple name--without any qualifiers. However, if
the pattern contains :: qualifiers, or if the object resides in another context, this command reports its fully-qualified name.
Therefore, you can use the following command to obtain a list where all names are fully-qualified: find objects ::*
KEYWORDS
class, object, search, import
itcl 3.0 find(n)