12-03-2008
hi there,
thanks for the fantastic responsese. I've tried a few of the suggestions but what i need to avoid is the need to have to actually be in the directory structure.
Basically i want to provide the tree structure as a value and have this broken down into its constituent parts as described in the first post.
can anybody help?
cheers
Steve
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hiyas
I am trying to get back to the root directory: I went into MAIL directory and now I can't get back to the root directory. What are the commands...
I have '?' coming up and I cannot proceed with this, HELP
Cheers (1 Reply)
Discussion started by: etravels
1 Replies
2. UNIX for Dummies Questions & Answers
Say, I want to move into dir library from current dir, on prompt if I type in
cd li
if it is followed by pressing 'Tab' key then complete dir name appears.
Would there anyone know, how we can make into effect this path autocompletion?
I am using 'ksh'. (5 Replies)
Discussion started by: videsh77
5 Replies
3. Linux
Hey all,
Is there any way out to get/restore the deleted file in Linux ? As we do have Recycle Bin in Windows OS.
as i deleted some files.. it is available in .snapshot
but its a large files.. i cont use "mv" command to copy back.
it there any way .. such like
in window we click restore... (1 Reply)
Discussion started by: mail2sant
1 Replies
4. Shell Programming and Scripting
Hi,
I am trying to figure out if there is a way to make linux take me back to the previous directory I was working in. For instance, I am in
/home/username/directory1
Then if I cd into /home/username/directory1/temp1/temp2/temp3
I would like to immediately go back to the previous... (2 Replies)
Discussion started by: Legend986
2 Replies
5. Shell Programming and Scripting
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies
6. UNIX for Dummies Questions & Answers
Some time ago I was using a linux system and someone had set up and
alias called "back" that got me back to the directory I was last in, which
was very useful. I've now switched to using a mac, and don't have those aliases available. Can anyone tell me how I could make a an alias that
would... (2 Replies)
Discussion started by: ac2011
2 Replies
7. UNIX for Dummies Questions & Answers
~/assign1b/assign1/york/>
your current directory is york
how do you go back to your home directory with using relative pathname?
not using cd alone?
:( (3 Replies)
Discussion started by: blackendstars
3 Replies
8. UNIX for Dummies Questions & Answers
My input is as below :
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt
/splunk/scrubbed/triumph/ifind.triumph.txt
From the above input I want to extract the file names only .
Basically I want to... (5 Replies)
Discussion started by: IshuGupta
5 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
10. UNIX for Beginners Questions & Answers
What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies
LEARN ABOUT DEBIAN
dh-make-gosa
DH-MAKE-GOSA(1) Debian DH-MAKE-GOSA(1)
NAME
dh-make-gosa - Debianizes the source of a given gosa plugin
SYNOPSIS
dh-make-gosa [OPTION]... SOURCE
DESCRIPTION
dh-make-gosa takes a directory or tar ball of an existing gosa plugin and adds debian information to it. Feel free to use dpkg-buildpackage
to generate your own gosa-plugin package from source or svn and enable it in the gosa.conf(5) file to activate it.
OPTIONS
-r debian-release, --release debian-release
Set the Debian release to debian-release when generating the Debian tree. Default is the unstable release.
--dest destination-directory
Place where dh-make-gosa will place its working data while generating the source directory. Defaults to the current directory.
--section debian-section
Set the Debian section to debian-section when generating the Debian tree. Defaults to the the web section.
--depends package,package,...
Add additional dependencies to the Debian tree which did not get listed in the plugin.dsc file. This is a comma seperated list of
Debian package names.
-e mail, --email mail
Overrides the Debian packager defined inside the plugin.dsc file by the one specified by mail.
Example usage
# Check out a plugin from SVN
svn co https://oss.gonicus.de/repositories/gosa/trunk/gosa-plugins/samba /tmp/samba
# Debianize the tree
cd /tmp
dh-make-gosa --email cajus@debian.org --release etch --section web samba
# Build debian package
cd samba
dpkg-buildpackage -uc -us -rfakeroot
To build everything from the subversion repository which is GOsa related, please take a look at the contributed make-gosa-package script.
AUTHOR
Cajus Pollmeier <cajus@debian.org>
BUGS
Please report any bugs, or post any suggestions, to the GOsa mailing list <gosa-devel@oss.gonicus.de> or to <https://oss.goni-
cus.de/labs/gosa>
LICENCE AND COPYRIGHT
This code is part of GOsa (L<http://www.gosa-project.org>)
Copyright (C) 2003-2009 GONICUS GmbH
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
GOsa v2.6 2008-04-07 DH-MAKE-GOSA(1)