From e4ac00b0917bf697b4294f56f9386f511afb1dfc Mon Sep 17 00:00:00 2001 From: blisshome <biz@earthlightly.com> Date: Wed, 21 Sep 2022 18:35:18 +0000 Subject: [PATCH] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ce4201..e8069df 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,22 @@ Soft Link ## Description -Context menu item for Dolphin file manager that creates a soft symbolic link to a **_single_** selected file and puts it in the same directory as the target file. The link name has **"_lnk"** appended to the target's name before the extension. "_lnk" is added to the link name because the the **ln** command does not allow a file and its soft symlink to have the same name and be located in the same directory. Works with file names that have spaces in the name or extension. +Context menu item for Dolphin file manager that creates a soft symbolic link to a **_single_** selected file and puts it in the same folder as the target file. The link name has **"_lnk"** appended to the target's name before the extension. "_lnk" is added to the link name because the the **ln** command does not allow a file and its soft symlink to have the same name _and_ be located in the same folder. Designed to work with a file that has an extension, e.g. My File.**_txt_**. Will work with a file that has no extension, but the link ends up with the file name as its "false" extension (see Usage below). Works with a file that has spaces in its name (or extension...who does that?) ## Installation Put .desktop file in **~/.local/share/kio/servicemenus/**. ## Usage +- With Extension: **My File.txt** --> **My File_lnk.txt** in same folder as the link target. +- Without Extension (it works, but...): +**My File** --> **My File_lnk.My File** in same folder as the link target (ugly "false" extension). + ## Roadmap -Current version is not written to process multiple files, but that should be easy enough to do. +Process multiple files. +Prevent "false" extension on file with no extension. ## License Copyright 2022 Thomas Zakrzewski -- GitLab