Need a way to read a file in who every line is a path to a directory and make shortcut to that directory on a specific place.
Example:
line in the document
/media/gogo/6651-FEAB/Desktop/
/media/gogo/6651-FEAB/Desktop/alex/
/media/gogo/6651-FEAB/linux/
/media/gogo/6651-FEAB/eks/HDD.Regenerator.2011-RES/INFOS/
and i need a way to crate a shortcut in a folder to every line ( path ) from the code above.
to
/media/gogo/6651-FEAB/Desktop
need a shortcut in
/home/Document/Shortcut/
and for name of the shortcut need the path it self ( /media/gogo/6651-FEAB/Desktop ), it should look like this -- > for
/media/gogo/6651-FEAB/Desktop
-->
/home/Document/Shortcut/#media#gogo#6651-FEAB#Desktop
( i know "/" cant be used for a name of directory & file ).
Same for the second line:
for
/media/gogo/6651-FEAB/Desktop/alex
-->
/home/Document/Shortcut/#media#gogo#6651-FEAB#Desktop#alex
and soo on until the file end. Someone up for the task
ps: the name may not be the name of the path it self actually it could be a whatever, like for the first line 1, second 2 and soo on...