Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Prooksius

Re: "ln -s" command to selected files

Thanks, but this command don't work with long file names with spaces.
Following command works fine:

ln -s '!' "`echo '!' | sed 's/.$/0/'`"

Just for somebody who needs this.
martin

Re: "ln -s" command to selected files

The "magic" custom command would be:
ln -s '!' `echo '!' | sed 's/.$/0/'`

Make sure you use right quotes. There are back-quotes around the "echo '!' | sed 's/.$/0/'"

Probably there is much better/simpler way how to achive the same results, but I'm not an expert in unix shell.
Prooksius

"ln -s" command to selected files

Hello!

Is it possible to do such a command:
Select needed files in the current directory and create symlinks for them with names the same as file names and extension - the last symbol = '0'.

For instance:
I mark following files

kjdj.doc
kdlkf.txt

Then I launch the magic command and in current directory I will have more two files:

kjdj.do0
kdlkf.tx0

which are symlinks to the first two files.

Thank you in advance.