im trying to create a symlink to directory Windows 8.1
using git-bash command windows run as administrator
having the folder structure like this:
-magento plugin
-magento
where my plugin is a git repository i want to symlink it to magento as mentioned here: http://inchoo.net/ecommerce/magento/how-to-setup-git-for-magento-extension-development/
so i run command to create symlink
$ ln -s D:/wamp/www/plugin-magento/app/design/adminhtml/default/default/template/company/name/ d:/wamp/www/magento/app/design/adminhtml/default/default/template/
company/name
where:
D:/wamp/www/plugin-magento/app/design/adminhtml/default/default/template/company/name/
has subdirectories and exist
and
d:/wamp/www/magento/app/design/adminhtml/default/default/template/
exist
i get error:
ln: creating symbolic link d:/wamp/www/magento/app/design/adminhtml/default/def
ault/template/company/name' to
D:/wamp/www/plugin-magento/app/design/adminhtml/def
ault/default/template/company/name/': No such file or directory
There is nothing hard in creating Symbolic links in Linux – you just need to follow one simple step. The ln command in Linux creates links between source files and directories. -s – the command for Symbolic Links. [Symbolic filename] – name of the symbolic link.
Ln Command to Create Symbolic Links By default, the ln command creates a hard link. Use the -s option to create a soft (symbolic) link. The -f option will force the command to overwrite a file that already exists. Source is the file or directory being linked to.
Under Windows you create a symlink with mklink /d. Attention under Windows its target and then source.
mklink /d "D:\wamp\www\magento\app\design\adminhtml\default\default\template\
company\name\" "D:\wamp\www\plugin-magento\app\design\adminhtml\default\default\template\company\name\"
http://www.sevenforums.com/tutorials/278262-mklink-create-use-links-windows.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With