Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have a folder /u01/backup. But due to some reason, the bacups are kept under /u03/backup. When a program tries to look for files in /u01/backup, it has go ...
  1. #1
    Just Joined!
    Join Date
    Jul 2003
    Posts
    17

    soft link

    Hi,

    I have a folder /u01/backup. But due to some reason, the bacups are kept under /u03/backup.

    When a program tries to look for files in /u01/backup, it has go and get the files from /u03/backup

    Can i achieve this by softlink ?

    Thx

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    What program are you using? Can you not tell the program to back up both /u01/backup and /u03/backup?
    Last edited by Kieren; 04-15-2009 at 12:25 PM. Reason: typo
    Linux User #453176

  3. #3
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    Try this:

    Code:
    # rmdir /u01/backup
    # ln -s /u03/backup /u01/backup

  4. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    WOHA! I don't think he want's to delete /u01/backup!
    Linux User #453176

  5. #5
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2
    Hi,
    For this kind od indirect accessing of files and directory, soft link or shorcut is used.
    Last edited by devils casper; 04-15-2009 at 06:01 PM. Reason: Removed External links.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...