mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #222] Unable to skip a subfolder using -X #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @isshin1 on GitHub (Jun 13, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/222
say I'm running dust in home directory, and it has structure
folder1
├── folder2
│ └── folder5
├── folder3
└── folder4
then using the -X option, I can only skip the folder1 entirely only, but If I want dust to ignore the any of other folders specifically, then it doesnt seems to be possible.
I tried , using wildcards or full path to that folder, but didnt wotk
dust -X folder2dust -X '*folder5'can you pls look into it, also it will be really awesome if we can have a global config file which have a section to have a list of foldernames ( with full paths ) which can be skipped, like
thanks
@bootandy commented on GitHub (Jun 20, 2022):
You can use these:
dust -v REGEXdust -e REGEXso you could use this to ignore folders called 'folder'
dust -v folderand this to only include folders called 'folder'
dust -e folder@bootandy commented on GitHub (Jun 20, 2022):
A global config file is something I want to look into.
https://github.com/bootandy/dust/issues/168
@bootandy commented on GitHub (Jun 20, 2022):
-X string matches without regex so you can write:
dust -X folder1/folder2[Use -v if you want regex]
@isshin1 commented on GitHub (Jun 20, 2022):
thanks, guess will wait for the config then
closing this one