question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When linking to exisinting files using glob option, only the portion matching the glob is used for names

See original GitHub issue

Consider that I have the below files

image

I wish to symlink these to ~/.local/bin directory.

When I use:

~/.local/bin:
  path: scripts/display_*
  glob: true

The created symlinks are named single.sh and multiple.sh instead of display_single.sh and display_multiple.sh. Is this the intended behaviour? If so, is there a way to use use globs and still get the symlinks with the complete filename?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
the-shankcommented, May 26, 2021

Thank you @eengstrom !

0reactions
the-shankcommented, May 27, 2021

@eengstrom I can confirm that this issue does not happen with the latest version. Thank you for your help and I apologize for wasting your time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Glob: Filename Pattern Matching - PYnative
Python glob module to find files and folders whose names follow a specific pattern. Search files recursively with wildcard characters.
Read more >
glob – Filename pattern matching - GeeksforGeeks
Glob module searches all path names looking for files matching a specified pattern according to the rules dictated by the Unix shell.
Read more >
glob – Filename pattern matching - Python Module of the Week
It is useful in any situation where your program needs to look for a list of files on the filesystem with names matching...
Read more >
Shell GLOB patterns (wildcard pathname matching)
GLOB patterns do not only match file names. The names being matched by a GLOB pattern can be anything: files, directories, symbolic links,...
Read more >
Glob (programming) - Wikipedia
In computer programming, glob patterns specify sets of filenames with wildcard characters. ... In addition to matching filenames, globs are also used widely...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found