Symbolic link to all files of a folder

Discussion in 'Installation/Configuration' started by hhhhhh, Feb 3, 2009.

  1. hhhhhh

    hhhhhh New Member

    hello,

    I would like to make a symbolic link of all files into one folder, not the complete folder because in the destination folder I will have few differents files of base folder.

    That is:

    I have:
    /var/www/index.php
    /var/www/index2.php
    /var/www/index3.php

    And I want these files into:

    /var/www2/@index.php
    /var/www2/@index2.php
    /var/www2/@index3.php
    /var/www2/independent_file_not_included_on_wwwfolder.php

    Anyone know how can I do it via SSH with one command?

    Thank you very much!!
     

Share This Page