just create a wrapper script that accounts for the required conditions ... sample code below just creates the symlinks in OS-specific directories ...
case
hello, i am a newbie who is just starting to use liunx, and I need to accept a string from the terminal and use case to echo a suitable message if the string doesn't have at least 10 characters. Also, how would I do the same thing using expr? (3 Replies)
Hi all,
I am new to scripting and hope to get help in this forum...we use autosys ... the jil files call shell scripts (korn shell) for automated processes and create logs everytime they are run...the process runs every 5 mins which is creating huge logs...i need to know if logs be created... (0 Replies)
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)
After a few hours of frustration because I didn't understand why my symlinks are destroyed i just found out that sed -i will destroy symlinks.
I searched but i didn't found any good solution for this.
Is there any way to overcome this ? On my ubuntu server sed version is 4.1.5
edit: Sorry... (0 Replies)
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)
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)
i would like to remove a directory and also symlink target inside.
my_directory
-- file1 -> /targetpath/file1
-- file2 -> /targetpath/file2
rm -rf my_directory will not remove symlink target.
rm -rf "`readlink -f file1`" will only remove target if specifying the symlink is specified
... (4 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)
Hello,
On Solaris 10, here are entries for logs in httpd.conf
ErrorLog "|/export/apache/apache-2.2.17/bin/rotatelogs -l -f /var/log/apache/error_log.%Y%m%d 86400"
It keeps creating daily logs with below names -
-rw-r--r-- 1 root root 1016747232 Apr 5 23:59... (16 Replies)
Discussion started by: solaris_1977
16 Replies
LEARN ABOUT DEBIAN
xfs_mdrestore
xfs_mdrestore(8) System Manager's Manual xfs_mdrestore(8)NAME
xfs_mdrestore - restores an XFS metadump image to a filesystem image
SYNOPSIS
xfs_mdrestore [ -g ] source target
DESCRIPTION
xfs_mdrestore is a debugging tool that restores a metadata image generated by xfs_metadump(8) to a filesystem. The source argument speci-
fies the location of the metadump image and the target argument specifies the destination for the filsystem image. If the source is -,
then the metadata image is read from stdin. This allows the output of be another program such as a compression application to be redirected
to xfs_mdrestore. The target can be either a file or a device.
xfs_mdrestore should not be used to restore metadata onto an existing filesystem unless you are completely certain the target can be
destroyed.
OPTIONS -g Shows restore progress on stdout.
DIAGNOSTICS
xfs_mdrestore returns an exit code of 0 if all the metadata is successfully restored or 1 if an error occurs.
SEE ALSO xfs_metadump(8), xfs_repair(8), xfs_check(8), xfs(5)BUGS
Email bug reports to xfs@oss.sgi.com.
xfs_mdrestore(8)