07-05-2008
Its like any other regular file
create with a dot "." prefixed
filenam = ".new.txt"
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi. I have a script which is deleting files with a particular extension and older than 45 days.The code is:
find <path> -name "<filename_pattern>" -mtime +45 -exec rm {} \;
But the problem is that some important files are also getting deleted.To prevent this I have decide to make a dummy... (4 Replies)
Discussion started by: pochaw
4 Replies
2. Solaris
Hi all,
I want to get only hidden files(which are start with '.' or '..') information in a current directory. I tried the below command,
$ find . -name "^." -exec ls -la '{}' \;
but it's not working. Can anyone give me your outputs.
Thanks in advance,
Raghu. (5 Replies)
Discussion started by: raghu.iv85
5 Replies
3. UNIX for Dummies Questions & Answers
I usually use ls -al | awk '{sum = sum + $5} END {print sum}' to sum the size of all files in a directory. However this command includes the hidden files.
Is there a command to just add up all the files/sub-directories excluding the hidden files (begins with . and ..)
I wanted to check the... (10 Replies)
Discussion started by: lhareigh890
10 Replies
4. Linux
Hi,
Some porocess is creating hidden temporary files in /tmp directory. And they are not getting deleted. System is going out of disk space after some days.
The temp files are getting created like .<user name><pid>. I have checked the application code, but didnt get any clue. Does these ... (2 Replies)
Discussion started by: viswath.sen
2 Replies
5. UNIX for Dummies Questions & Answers
How to list out only the hidden files from a directory ?
Thanks (4 Replies)
Discussion started by: pandeesh
4 Replies
6. AIX
I have a bunch of hidden files in a directory in AIX. I would like to move these hidden files as regular files to another directory.
Say i have the following files in directory /x
.test~1234~567
.report~5678~123
.find~9876~576
i would like to move them to directory /y as
test~1234~567... (10 Replies)
Discussion started by: umesh.narain
10 Replies
7. UNIX for Advanced & Expert Users
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.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
8. Shell Programming and Scripting
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
Discussion started by: jcdole
2 Replies
LEARN ABOUT CENTOS
avahi-browse-domains
avahi-browse(1) General Commands Manual avahi-browse(1)
NAME
avahi-browse - Browse for mDNS/DNS-SD services using the Avahi daemon
SYNOPSIS
avahi-browse [options] service-type
avahi-browse [options] --all
avahi-browse [options] --browse-domains
avahi-browse [options] --dump-db
avahi-browse-domains [options]
DESCRIPTION
Browse for mDNS/DNS-SD network services and browsing domains using the Avahi daemon.
OPTIONS
Specify a DNS-SD service type (e.g. _http._tcp) to browse for on the command line, or -a to browse for all available service types. Items
that appear on the network are prefixed with "+", items that disappear are prefixed with "-". If --resolve is passed items that are
resolved are prefixed with "=".
-a | --all
Browse for all service types registered on the LAN, not just the one specified on the command line.
-D | --browse-domains
Browse for browsing domains instead for services. avahi-browse-domains is equivalent to avahi-browse --browse-domains
-d | --domain= DOMAIN
Browse in the specified domain. If omitted avahi-browse will browse in the default browsing domain (usually .local)
-v | --verbose
Enable verbose mode.
-t | --terminate
Terminate after dumping a more or less complete list.
-c | --cache
Terminate after dumping all entries available in the cache.
-l | --ignore-local
Ignore local services, show only remote services.
-r | --resolve
Automatically resolve services found.
-f | --no-fail
Don't fail if the daemon is not found running. Instead, wait until it appears. If it disconnects, try to reconnect.
-p | --parsable
Make output easily parsable for usage in scripts. If enabled fields are separated by semicolons (;), service names are escaped. It
is recommended to combine this with --no-db-lookup.
-k | --no-db-lookup
Don't lookup services types in service type database.
-b | --dump-db
Dump the service type database (may be combined with -k)
-h | --help
Show help.
-V | --version
Show version information.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO
avahi-publish(1), avahi-resolve(1), avahi-daemon(8)
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-browse(1)