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)
I am looking for files of a certian type and logging them. After they are logged they need to be moved to a different directory. HOw can i incorporate that in my current script?
CSV_OUTFILE="somefile.csv"
find . -name W\* -exec printf "%s,%s,OK" {} `date '+%Y%m%d%H%M%S'` \; > ${CSV_OUTFILE}
... (9 Replies)
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)
I'm trying to get a count of all the files in a series of directories on a per directory basis. Directory structure is like (but with many more files):
/dir1/subdir1/file1.txt
/dir1/subdir1/file2.txt
/dir1/subdir2/file1.txt
/dir1/subdir2/file2.txt
/dir2/subdir1/file1.txt... (4 Replies)
Hi,
I am using the korn shell on Solaris box.
Why does the following 2 commands return different results?
This command returns no results (I already used this command to create a list of files which I moved to an archive directory)
find ????10??_*.dat -type f -mtime +91
However this... (15 Replies)
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)
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)
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)
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)
I want to remove any files that are older than 2 days from a directory. It deletes those files. Then it comes back with a message it is a directory. What am I doing wrong here?
+ find /mydir -mtime +2 -exec rm -f '{}' ';'
rm: /mydir is a directory (2 Replies)
Discussion started by: jtamminen
2 Replies
LEARN ABOUT OPENSOLARIS
vino-preferences
vino-preferences(1) User Commands vino-preferences(1)NAME
vino-preferences - remote desktop configuration
SYNOPSIS
vino-preferences [gnome-std-options]
DESCRIPTION
vino-preferences is the configuration dialog for remote desktop server. vino-preferences provides a GUI to configure options of remote
desktop server, include view-only mode and control mode for desktop sharing. And it also be used to configure the security mode and specify
user password.
There are some check boxes in vino preferences dialog. the four check boxes are divided into 2 groups: Sharing and Security. The Sharing
group controls if the server allow other users to view your desktop and if the server allow other users to control your desktop. The Secu-
rity group control what kind of security method the server will take when there is a remote request. Vino server can be configured to ask
user confirm every time there is a connection request, and the server also can be configured to require users to provide password for the
remote access. A password editbox is provided to input server password. This password will be saved in gnome keyring.
OPTIONS
The following options are supported:
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Start the vino preferences dialog from command line
example% vino-preferences
FILES
The following files are used by this application:
/usr/bin/vino-preferences
The executable file for the vino preferences application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-remote-desktop |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO vino-passwd(1), vino-server(1), attributes(5), gnome-std-options(5)NOTES
Written by Steven Zhang, Sun Microsystems Inc., 2006, 2007.
Updated by Halton Huo, Sun Microsystems Inc., 2008.
SunOS 5.11 15 Aug 2008 vino-preferences(1)