diff --git a/README.md b/README.md index 8ce4201513527a26fd37bb7a3f634334b50cabd6..e8069df4aec46d3205a78bf20f9cf5388d25abb9 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