05-05-2006
Displays all the directories (current location)
Append this in profile:
alias lsd='ls -1F $* | grep '/$' '
type
lsd
This will display all the directories.
E.g.:-
dir_a/
dir_b/
mails/
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've noticed most of my postings here are because of syntax errors.
So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies
2. Shell Programming and Scripting
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Discussion started by: ejianu
5 Replies
3. Shell Programming and Scripting
Hi,
I am using SunOS
I want to serch my previous command
from unix prompt
(like on AIX we can search by ESC -k)
how to get in SunOs
urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies
4. Shell Programming and Scripting
Hello,
There's a third-party application's command that shows the application's status like "tail -f verybusy.log". When use the command, the output comes every 1-sec. but when it goes in a script below the output comes every 8-sec...What is the problem and how can I fix it?
open(CMD,... (2 Replies)
Discussion started by: Shawn, Lee
2 Replies
5. UNIX for Dummies Questions & Answers
It is for HP-Unix B.11.31.
Requirement:
1. List the directories, having given pattern in the directories name, sorted by creation date.
Example: Directories with name "pkg32*" or "pkg33*"
2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Discussion started by: Siva SQL
2 Replies
6. Shell Programming and Scripting
Hi, I'm working on HP-UX B.11.23 64bit. I tried to tar couple of directories but failed to do so.
$ tar -cvf tar_file_name -C /dir1 /dir2
the -C is for directories as mentioned in the man pages. But still unable to create a tar file having directories and sub-directories.
Requesting help in... (1 Reply)
Discussion started by: sam_bd
1 Replies
7. Solaris
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies
8. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
exchange2mbox
EXCHANGE2MBOX(1) OpenChange Users' Manual EXCHANGE2MBOX(1)
NAME
exchange2mbox - Convert Exchange mailbox to mbox file
SYNOPSIS
exchange2mbox [-?|--help] [--usage] [-f|--database PATH] [-p|--profile PROFILE]
[-P|--password PASSWORD] [-m|--mbox FILENAME] [-u|--update]
[-d|--debuglevel LEVEL] [--dump-data]
DESCRIPTION
exchange2mbox provides a way to synchronize an Exchange mailbox with a mbox file. The tool is developed so it only retrieves mails not
already stored in the message ID index database and reflects changes back to the Exchange server if the local message copy are deleted.
OPTIONS
--database
-f Set the path to the profile database to use
--profile
-p Set the profile to use. If no profile is specified, exchange2mbox try to retrieve the default profile in the database. If no default
profile has been set, exchange2mbox returns MAPI_E_NOT_FOUND .
--password
-P Set the password for the profile to use. This can be omitted if the password is stored in the profile.
--mbox
-m Set the mbox file full path
--update
-u Synchronize the local mbox file with the remote Exchange server mailbox.
--dump-data
Dump the hex data. This is only required for debugging or educational purposes.
--debuglevel LEVEL
-d Set the debug level.
EXAMPLES
Create/Update the mbox file and indexes within the profile database:
exchange2mbox
Update the Exchange mailbox and indexes according to the changes made to the mbox file.
exchange2mbox -u
REMARKS
If no mbox file is specified, one will be automatically created in $(HOME)/.openchange/mbox . If you are using the default profile data-
base path and have set a default profile (using mapiprofile --profile=profile_name -S ) you do not need to specify these parameters on the
command line.
AUTHOR
Julien Kerihuel <j.kerihuel at openchange dot org>
Brad Hards <bradh at openchange dot org>
OpenChange libmapi 0.8 2008-11-14 EXCHANGE2MBOX(1)