The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

recursive folders /usr/local/cpanel/perl/auto/auto/auto/auto...

Discussion in 'General Discussion' started by bigste, Oct 14, 2009.

  1. bigste

    bigste Member

    Joined:
    Jan 6, 2009
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cheshire, UK
    I've got this recursive folder structure going on in my server, is it normal

    /usr/local/cpanel/perl/auto/auto/auto/auto.......

    the auto is a link that points to "." which is obviously the current folder, so it just keeps going round and round.

    It's not much of a problem until I'm trying to copy stuff or back up that folder.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    When copying you may want to add CLI switches or options that avoid following symlinks but that still copy and retain the actual symlink. For example, if using "cp" to copy recursively it should be possible to achieve this behavior using the "-a" or "--archive" switch.

    Reference command:
    Code:
    # man cp
     
Loading...

Share This Page