mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 10:04:54 +02:00
xdg-user-dirs-update: add page (#3695)
This commit is contained in:
parent
3f48086d34
commit
93f2e505de
1 changed files with 12 additions and 0 deletions
12
pages/common/xdg-user-dirs-update.md
Normal file
12
pages/common/xdg-user-dirs-update.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# xdg-user-dirs-update
|
||||
|
||||
> Update XDG user directories.
|
||||
> More information: <https://manpages.ubuntu.com/manpages/bionic/man1/xdg-user-dirs-update.1.html>.
|
||||
|
||||
- Change XDG's DESKTOP directory to the specified directory (must be absolute):
|
||||
|
||||
`xdg-user-dirs-update --set DESKTOP "{{/path/to/directory}}"`
|
||||
|
||||
- Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file:
|
||||
|
||||
`xdg-user-dirs-update --dummy-output "{{/path/to/dry-run-file}}" --set {{xdg_user_directory}} "{{/path/to/directory}}"`
|
Loading…
Add table
Reference in a new issue