1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 13:19:46 +01:00
tldr/pages/linux/xdg-user-dirs-update.md

13 lines
468 B
Markdown
Raw Permalink Normal View History

2019-12-28 11:55:55 +01:00
# xdg-user-dirs-update
> Update XDG user directories.
> More information: <https://manned.org/xdg-user-dirs-update>.
2019-12-28 11:55:55 +01:00
- Change XDG's DESKTOP directory to the specified directory (must be absolute):
`xdg-user-dirs-update --set DESKTOP "{{path/to/directory}}"`
2019-12-28 11:55:55 +01:00
- 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}}"`