The system I work on, produces several kinds of status-files in a single directory. I would like to be able to see the files as they are added to this directory.
I was wondering if it would be possible to get a "tail -f" alike view of the ls-command, in such a way that a newly added file is... (4 Replies)
I have a directory (and many sub dirs beneath) on AIX system, containing thousands of file. I'm looking to get a list of all directory containing "*.pdf" file.
I know basic syntax of find command, but it gives me list of all pdf files, which numbers in thousands. All I need to know is, which... (4 Replies)
Hi!
I would like to funnel a series of directories and subdirectories into a text file. This is the output I would like to see from a find command:
/mypath/ABC_01/VISIT_01
/mypath/ABC_01/VISIT_02
/mypath/ABC_01/VISIT_03
/mypath/ABC_02/VISIT_01
/mypath/ABC_03/VISIT_01
I've tried:
find... (2 Replies)
Following is the output of .profile file -
$ cat /home/estdm2/.profile
#!/bin/ksh
set -o vi
alias l="ls -ltr"
umask 002
Following is the path setting script.
$ cat DM_ENV_VARS_NEW.ksh
#!/bin/ksh
. /home/estdm2/.profile
sEnv=$1
echo "We are in ${sEnv} environment"
echo "STEP010... (3 Replies)
Hi all,
I have written a bash script to do a few things for my Splunk deployment, however, I am currently stuck on one part...
I need to the current working directory (I collect this with `pwd`) in the script as it could in theory be run from a number of locations. I'm not that great with... (5 Replies)
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46
Any ideas how can we do this? :wall: (1 Reply)
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46Any ideas how can we do this?
Got a sun cluser global mount point which takes ages to mount everytime, need to understand... (5 Replies)
I need to update about 2400 files in a directory subtree, with a new directory path inside the files
I need to change this occurence in all files: /d2/R12AB/VIS/apps/tech_st/10.1.2
with this: /u01/PROD/apps/apps_st/10.1.3
I know how to change single words using "find . -type f -print0 |... (6 Replies)
Hello,
I have been running Ubuntu14.04 + apache2.
000-default.conf:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory... (5 Replies)
Discussion started by: baris35
5 Replies
LEARN ABOUT OPENSOLARIS
update-desktop-database
update-desktop-database(1) User Commands update-desktop-database(1)NAME
update-desktop-database - Desktop file caching utility
SYNOPSIS
update-desktop-database [--help] [--verbose] [--quiet] [filepath]
DESCRIPTION
update-desktop-database creates cache files for desktop file MIME type mapping for improved MIME lookup performance.
It expects to be given the path to a directory or directories containing a number of application installed .desktop files, e.g.
/usr/share/applications, and writes a mime-info.cache containing cached information about the MIME types that each application can handle.
If no directory is provided, this utility will use a default directory list as specified in the FreeDesktop MIME specification. This cache
file is used to avoid a lot of system call and disk seek overhead in a number of applications.
OPTIONS
The following options are supported:
-?, --help Show help options.
-v, --verbose Turn on verbose output.
-q, --quiet Do not provide any output.
OPERANDS
The following operands are supported:
filepath The path to a directory or directories containing a number of application installed .desktop files.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
1 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/update-desktop-databaseThe command-line executable for the application.
/usr/share/applications System desktop file directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-desktop-prefs |
+-----------------------------+-----------------------------+
|Interface stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO update-mime-database(1), gnome-desktop-item-edit(1), attributes(5), gnome-interfaces(5)
Latest version of the GNOME Desktop User Guide and GNOME System Administration Guide for your platform.
NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2007.
SunOS 5.11 31 Jan 2007 update-desktop-database(1)