I would worry that someone could create a link in error to something critical, e.g. You have a directory called /development and someone manages to chop off the end of their command
As someone who has moved /dev by accident, I can confirm that the results are rather difficult to deal with. We managed to follow the trace of our job and put it back, but you are looking to remove files.
I would be very wary of letting this run as a script.
Collect the details for sure, but let a human check them before taking action.
hi...
I have a folder<abc> under /root folder. I want to create a symlink such that when i click on folder<abc> under root, should display my home folder (home/krish).
Immediate inputs appreciated..... (1 Reply)
Hi all,
I want to create a symlink on a link file, i mean, there is a file which is actually a symlink of some version. Now i want to create one more symlink on that link file.
EX: there is a file:
uat -> version
prod -> version
Now i want to create one more link on these 'uat' and... (1 Reply)
Hello every body,
Kindly support me to "copy a file without remove the contents of the target file"
Thanks in advance. :)
Ahmed Amer
Cairo,Egypt (2 Replies)
I have a target directory, there are some files and directories in "target_dir".
I have a symbol link: my_link -> <target_dir>
The target directory name is NOT known to the script (because it is varying), while the link name is always fixed.
In a shell script, how to remove both the... (1 Reply)
Hi Forums,
I got a little problem, I made a few modifications to the code of the launch script of a testing server(minecraft) and now updating is broken aswell as the automatic directory creation.
These Lines somehow create an endless symlink that refers to itself and I don't know how to fix... (0 Replies)
Hello,
can someone please suggest or is it possible to hide the path for the link from viewing it from remote users.
for examples.
as root user login
#ls -l
lrwxrwxrwx 1 root root 43 Oct 2 16:05 sftpdata -> /data/sftphome/sftpuser1/sftpdata/
#pwd
/home/user1
#
when user1 logs... (4 Replies)
Hi All,
Is there any way to create a symlink that will point to last 1000 line of a log file. My symlink will always point to "tail -1000 logfile".
This can be achieved by writing a script and scheduling with high frequency, but I am looking for some other alternatives.
Please let me know... (8 Replies)
Hi,
I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result
... (0 Replies)
I am trying to setup my plex server to use symlinks rather than host the movie files.
in my storage directory, i have both movies(some in subdirectory of the name and some just in the parent directory) and tvshows, which have subdirectories for each season, which contains the episodes
i would... (3 Replies)
I know how to create a symlink but I am getting an error message that the file already exists. Also, my symlink doesn't point from target directory to the path correctly,
Here is an example of the path to my folder structure
path: cd /wkspce/wff/DEV/jobs/DEL
the folder structure is:
... (3 Replies)
Discussion started by: dellanicholson
3 Replies
LEARN ABOUT DEBIAN
d-shlibmove
d-shlibmove(1) d-shlibs manual d-shlibmove(1)NAME
d-shlibmove - Move shared library files around in Debian package creation process
SYNOPSIS
d-shlibmove [options] shared-library.so
DESCRIPTION
Call this program in debian/rules as a replacement of dh_movefiles for shared library packages.
It also checks debian/control for validity.
OPTIONS --movedev [filename] [relative dir-path]
Install file into relative directory path within the -dev package. The dir will be created with install -d and the file will be
moved.
--moveshl [filename] [relative dir-path]
Install file into relative directory path within the shared library runtime package. The dir will be created with install -d and
the file will be moved.
--movedevdoc [filename]
Install file into the documentation directory of -dev package. The dir will be created with install -d and the file will be moved.
Added in version 0.4
--extralib [shared-library.so]
Install the shared library in the same package as the main shared library.
--multiarch
By default d-shlibmove installs the shared library and any extralibs into /usr/lib. Add this flag to install them into
/usr/lib/<architecture-tripplet> instead.
Added in version 0.48
--commit
By default d-shlibmove runs in a dry-run mode. Add this flag to make the moving actually happen.
--suffix [suffix to add to shared library package]
Add a suffix to shared library package. This is a workaround when binary interface to package changed, and some fixup to Debian
packaging needs to be done.
Added in version 0.3
--devsuffix [suffix to add to development package]
Add a suffix to development package. For making incompatible development package.
--shlibs-local [current-version]
Create a debian/shlibs.local file to use, and specify current-version of shared library package. You need to remove
debian/shlibs.local, because this only appends to, not overwrite.
Added in version 0.3
--devunversioned
Install into unversioned development package.
Added in version 0.42
--ignorelibdep
Suppress shlib dependency. Useful when dynamically resolved e.g. using CDBS.
Added in version 0.42
--c102
Add c102 suffix to package names, for C++ ABI transition.
Added in version 0.8
--ldbl
Add dbl suffix to package names.
Added in version 0.35
--include-a
Install the *.a files. This is the default behavior.
Added in version 0.51
--exclude-a
Avoid installing *.a files.
Added in version 0.51
--include-la
Install the *.la files. This is the default behavior.
Added in version 0.45
--exclude-la
Avoid installing *.la files.
Added in version 0.45
--override [override statement]
Add an overriding sed expression, which looks like --override s/libshared1-dev/libshared-dev/. This expression is executed after
the other rules.
Multiple --override can be specified.
Added in version 0.30
EXIT CODE
Return 1 on error.
Return 2 on dry-run.
Return 0 on success.
EXAMPLES
The following is a sample command-line of a hypothetical package installation.
d-shlibmove --commit--movedev "debian/tmp/usr/include/*" usr/include --extralib debian/tmp/usr/lib/libhomeman-pthread.so
debian/tmp/usr/lib/libhomeman.so
AUTHOR
Junichi Uekawa <dancer@debian.org> <dancer@netfort.gr.jp>
SEE ALSO
d-devlibdeps (1)
Debian GNU/Linux 2002 May 3 d-shlibmove(1)