xdg-user-dirs-update not working with more than one directory
0
votes
1
answer
893
views
https://manpages.ubuntu.com/manpages/focal/man1/xdg-user-dirs-update.1.html
Why is only the last directory being set in the
xdg-user-dirs
file?
% xdg-user-dirs-update --dummy-output ~/test \
--set DOCUMENTS $HOME/Apples \
--set MUSIC $HOME/Bananas \
--set PICTURES $HOME/Oranges \
--set VIDEOS $HOME/Pears
% cat ~/test
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_VIDEOS_DIR="$HOME/Pears"
Asked by paradroid
(1235 rep)
Jul 18, 2023, 05:30 PM
Last activity: Jul 19, 2023, 01:54 AM
Last activity: Jul 19, 2023, 01:54 AM