Add files to dropbox with single curl command

I have been thinking of posting this for sometime now. This is very useful, when you are working on a different Linux box and want to upload a file to dropbox.


So, before you run this command, you need to create your auth token in Dropbox developer API page. Once that is done, need to change the 2 parameters in command below. Export your Access token and run the below command.

Here is the command:

tar cvzf /tmp/backup.tgz <folder of your choice>
curl -X POST \
    --header "Authorization: Bearer $OAUTH_ACCESS_TOKEN" \
    --header "Dropbox-API-Arg: {\"path\": \"/<dropbox path>/$(hostname -s)/$NOW.tgz\"}" \
    --header "Content-Type: application/octet-stream" \
    --data-binary @/tmp/backup.tgz

asciinema – video for your terminal session

Info about asciinema:

Name         : asciinema
Version      : 1.4.0
Release      : 1.fc26
Arch         : noarch
Size         : 144 k
Source       : asciinema-1.4.0-1.fc26.src.rpm
Repo         : @System
From repo    : fedora
Summary      : Command line client (terminal recorder) for service
URL          :
License      : GPLv3
Description  : Asciinema is a free and open source solution for recording the terminal sessions
: and sharing them on the web.

To install, you can do:

dnf install asciinema


and here is and example:
Asciinema test video

Hope you find it useful if you have to show someone how to do something. Best part is – For just sharing a video link, you do not need to register as well 🙂

remind – set and manager reminders the easy way

remind – is a calendar and alarm program. Its simple to use from CLI. To install:

dnf install remind

and some details about it:

Name : remind
Version : 03.01.15
Release : 3.fc26
Arch : x86_64
Size : 440 k
Source : remind-03.01.15-3.fc26.src.rpm
Repo : @System
From repo : fedora
Summary : A sophisticated calendar and alarm program
License : GPLv2
Description : Remind is a sophisticated calendar and alarm program. It includes the following
: features:
: * A sophisticated scripting language
: * Plain-text, PostScript and HTML output
: * Timed reminders and pop-up alarms