Skip to content
Snippets Groups Projects
Commit e4ac00b0 authored by blisshome's avatar blisshome
Browse files

Update README.md

parent 45eabef0
No related branches found
No related tags found
No related merge requests found
...@@ -4,17 +4,22 @@ ...@@ -4,17 +4,22 @@
Soft Link Soft Link
## Description ## 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 ## Installation
Put .desktop file in **~/.local/share/kio/servicemenus/**. Put .desktop file in **~/.local/share/kio/servicemenus/**.
## Usage ## Usage
- With Extension:
**My File.txt** --> **My File_lnk.txt** in same folder as the link target. **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 ## 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 ## License
Copyright 2022 Thomas Zakrzewski Copyright 2022 Thomas Zakrzewski
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment