Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

soft-link

  • Clone with SSH
  • Clone with HTTPS
  • blisshome's avatar
    blisshome authored
    3f0bd458
    History
    Name Last commit Last update
    README.md
    softlink.desktop

    Soft Link

    Name

    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.

    Installation

    Put .desktop file in ~/.local/share/kio/servicemenus/.

    Usage

    My File.txt --> My File_lnk.txt in same folder as the link target.

    Roadmap

    Current version is not written to process multiple files, but that should be easy enough to do.

    License

    Copyright 2022 Thomas Zakrzewski

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.