My random thoughts about politics, society and technology (tag: bash)

All Deutsch English

The ownCloud Public Link Creator

ownCloud Share Link Creator – Context Menu Holiday season is the perfect time to work on some stuff on your personal ToDo list. ownCloud 6 introduced a public REST-style Share-API which allows you to call various share operations from external applications. Since I started working on the Share-API I thought about having a simple shell script on my file manager to automatically upload a file and generate a public link for it… Here it is! Read more...

My Backup Solution

For a long time I have made backups of my home partition by hand, starting from time to time rdiff-backup. But as you can imagine, this approach doesn’t generate regular and reliable backups. I couldn’t put this task into a simple cronjob because of two reasons. First I use encrypted hard disks and my backup disk is connected via USB and not always on. So before a backup starts I have to turn on my backup disk and make sure, that my home partition and my backup disk is decrypted and mounted. Read more...

Fedora and gpg-agent

While it was quite easy to set up my Fellowship smartcard for SSH logins on Debian GNU/Linux following this instructions I never managed to get it working on Fedora GNU/Linux. At some point of time I just gave up. Today finally I found a solution in an on-line forum. The problem was that gpg-agent always stopped with the error message: $ gpg-agent gpg-agent[2857]: can't connect to `/home/schiesbn/.gnupg/S.gpg-agent': No such file or directory gpg-agent: no gpg-agent running in this session By default the gpg-agent on Fedora creates the socket in /tmp instead of in /home/schiesbn/. Read more...