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.
regex and depth options with find command aren't working.
Appreciate any help.
Moderator's Comments:
Please use CODE tags when displaying sample code segments, sample input, and sample output.
Last edited by Don Cragun; 02-03-2014 at 02:07 AM..
Reason: Add CODE tags.
Hi ,
I am trying to use the find command with delete in a directory . Even though i use a wil character search the find command is checking the hidden files which inturn results in error .
Can i avoid look that into the hidden files ?? I am using HP unix .
find /cv1/ -name "ite*"... (3 Replies)
Hi,
I have a filename Location.txt in a directory /abc.
Similar name file is present in its subdirectory /abc/xyz.
I want to find the file which is present only in /abc and not in /abc/xyz.
Please any1 of u can provide a quick suggestion.
Its very urgent.
Thanks,
Amol (2 Replies)
Hello,
Using the instruction mget (within ftp) and with "Interactive mode off", I want to get all files from directory (DirAA), but not the files in sub-directories.
The files names don't follow any defined rule, so they can be just letters without (.) period
Directory structure example: ... (0 Replies)
I have been searching, and cannot find an answer for this. I am trying to find all files for a user, lets call him (test001), and I want to exclude a specific directory.
Here is the command I run, it finds all files:
find / -user test001
I get this result:
> find / -user test001 ... (4 Replies)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Hi,
I have to find specific files only in the current directory...not in the sub directories.
But when I use Find command ... it searches all the files in the current directory as well as in the subdirectories. I am using AIX-UNIX machine.Please help..
I am using the below command. And i am... (2 Replies)
Hi Forum,
I am using the below command to find files older than x days in a directory excluding subdirectories. From the previous forums I got to know that prune command helps us not to descend in subdirectories. Though I am using it here, not getting the desired result.
cd $dir... (8 Replies)
Hi All,
requirement is to find and remove the files from sub directories but it should exclude the files from parent directory.
At present i am using the below one but it finds and remove files from both parent and sub directories.
find ${PATH} -type f \( -name securitas\* -o -name \*gz... (1 Reply)
hello.
I try to print a list of files but excluding some directories and some files.
I would like to write a command for :
find "from_dir" "ignore dir1, dir2, ..." "ignore file1, file2,...." "where file are older than 2017-02-03T06:00:00"
Note that "DO_IT" is a local function in the script... (5 Replies)
Discussion started by: jcdole
5 Replies
LEARN ABOUT DEBIAN
findtags
FINDTAGS(1p) User Contributed Perl Documentation FINDTAGS(1p)NAME
findtags - find tags in Interchange catalogs and directories
SYNOPSIS
findtags -a -d lib/UI
findtags -a -d lib/UI -t -u
findtags -a -u -t
DESCRIPTION
Find tags in Interchange catalogs and directories -- intended to develop a list for TagInclude.
WARNING: This is not 100%, for developing tag names from Variable definitions and other sources can fool it. If you include all
directories, make sure you don't include documentation files or the usertags themselves.
With the standard distribution, this should find just about all tags needed:
findtags -a -d lib/UI
To develop a TagInclude statement which excludes unused tags, try:
findtags -a -d lib/UI -t -u
If you don't want to use the UI, then do:
findtags -a -u -t
OPTIONS -a Look in all catalogs.
-c CAT
Only look in catalog CAT.
-d DIR1 DIR2 ....
Look in given directories.
-f FILE
Use alternate interchange.cfg file FILE.
-h Display help.
-n Don't report system tags.
-t Output suitable for TagInclude directive.
-u Report unseen tags.
-v Slightly verbose, report directories scanned.
-x DIR1 DIR2 ....
Exclude given directories from scanning. Default is session and tmp.
perl v5.14.2 2012-01-23 FINDTAGS(1p)