SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    link files instead of copying

    Hello all,

    I need to execute the following command into a Solaris 5.11 system.

    cp -al ......

    The problem is that either -a or -l works on Solaris.
    Man pages are not installed and all I can get is:

    Usage: cp [-f] [-i] [-p] [-@] f1 f2
    cp [-f] [-i] [-p] [-@] f1 ... fn d1
    cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] d1 ... dn-1 dn

    What I want to achieve is link files instead of copying and also keep permissions on files.

    Any help is much appreciated.

    Thanks

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just found it...
    I need to use find and cpio to achieve the same.


Bookmarks

Posting Permissions

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