This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dynamic folder path for the Places panel

Tags: None
(comma "," separated)
User avatar
Toubib
Registered Member
Posts
1
Karma
0
OS
Hi,

I'm using this piece of code to manage my daily stuff on my computer at work:

Code: Select all
alias cdd="if [ -d ~/work/$(date +'%y%m%d') ]; then cd ~/work/$(date +'%y%m%d'); else mkdir ~/work/$(date +'%y%m%d'); cd ~/work/$(date +'%y%m%d'); fi"


This means when I type "cdd" on my Konsole, it goes to a subdirectory of the ~/work dir named by the date of the day.

I wonder if it would be possible to do the same thing with a bookmark on the Places panel ? I tried to put shell code on the path value but it doesn't work.

I see there are special handlers like timeline:/today or search:/images, maybe I could create mine like my_module:/today_path ?

Thanks


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]