Skip to content

Instantly share code, notes, and snippets.

@unique1984
Created April 19, 2020 19:44
Show Gist options
  • Save unique1984/553583a000ebc2ab00d93f13a77c4892 to your computer and use it in GitHub Desktop.
Save unique1984/553583a000ebc2ab00d93f13a77c4892 to your computer and use it in GitHub Desktop.
Kullanıcı sistem dizinlerini listeleyen komutlar
#!/usr/bin/env bash
echo -e DESKTOP"\t\t" $(xdg-user-dir DESKTOP)
echo -e DOWNLOAD"\t" $(xdg-user-dir DOWNLOAD)
echo -e TEMPLATES"\t" $(xdg-user-dir TEMPLATES)
echo -e PUBLICSHARE"\t" $(xdg-user-dir PUBLICSHARE)
echo -e DOCUMENTS"\t" $(xdg-user-dir DOCUMENTS)
echo -e MUSIC"\t\t" $(xdg-user-dir MUSIC)
echo -e PICTURES"\t" $(xdg-user-dir PICTURES)
echo -e VIDEOS"\t\t" $(xdg-user-dir VIDEOS)
@unique1984
Copy link
Author

/etc/xdg/user-dirs.conf

~/.config/user-dirs.dirs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment