rahiel / archiveror

Archiveror will help you preserve the webpages you love. 💾
https://www.rahielkasim.com/archiveror/
GNU General Public License v3.0
422 stars 43 forks source link

Change default download location to other than Downloads #8

Closed orschiro closed 8 years ago

orschiro commented 8 years ago

Dear @rahiel,

Another related question to my first question.

For me personally the Downloads directory is a temporary directory in which I store files usually only until I use them for something.

Archived bookmarks, however, have a permanent meaning.

Thus I would like to store them outside the Downloads directory.

Is it technically possible to store files somewhere outside the Downloads directory?

Thankfully,

~Robert

rahiel commented 8 years ago

Okay, Chromium only allows extensions to save files in the Downloads directory, this is a good security feature.

However on Linux you can trick Chromium with symbolic links to save them wherever you like:

  1. Move your current Archiveror directory to where you want it to be.
  2. Make sure there is no Archiverordirectory in your Downloads.
  3. Link this new location to your Downloads folder. In this example I moved Archiveror to /home/rahiel/Documents/Archiveror. Run in a terminal, replacing rahiel with your username and the first argument with where you want to store the archives (both arguments need to be full paths):
ln -s /home/rahiel/Documents/Archiveror/ /home/rahiel/Downloads

Now your local archives should be saved at the new location. If you look in the Downloads folder in your file manager, the Archiveror folder has an arrow, showing the actual data is somewhere else.

orschiro commented 8 years ago

Dear Rahiel,

This is a very clever workaround. I haven't actually thought of this before.

Thank you and problem solved! :-)

Warmly,

~Robert

Sent from Nylas N1, the extensible, open source mail client.

On Apr 7 2016, at 11:12 pm, Rahiel Kasim <notifications@github.com> wrote:

Okay, Chromium only allows extensions to save files in the `Downloads directory, this is a good security feature.

However on Linux you can trick Chromium with symbolic links to save them wherever you like:

  1. Move your current Archiveror directory to where you want it to be.
  2. Make sure there is no Archiverordirectory in your Downloads.
  3. Link this new location to your Downloads folder. In this example I moved Archiveror to /home/rahiel/Documents/Archiveror. Run in a terminal, replacing rahiel with your username and the first argument with where you want to store the archives (both arguments need to be full paths):

    ln -s /home/rahiel/Documents/Archiveror/ /home/rahiel/Downloads

Now your local archives should be saved at the new location. If you look in the Downloads folder in your file manager, the Archiveror folder has an arrow, showing the actual data is somewhere else.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

orschiro commented 8 years ago

PS: Maybe nice to add this to the README or Wiki of this repository?

~Robert

Sent from Nylas N1, the extensible, open source mail client.

On Apr 8 2016, at 2:00 pm, Robert Orzanna <orschiro@gmail.com> wrote:

Dear Rahiel,

This is a very clever workaround. I haven't actually thought of this before.

Thank you and problem solved! :-)

Warmly,

~Robert

Sent from Nylas N1, the extensible, open source mail client.

On Apr 7 2016, at 11:12 pm, Rahiel Kasim <notifications@github.com> wrote:

Okay, Chromium only allows extensions to save files in the `Downloads directory, this is a good security feature.

However on Linux you can trick Chromium with symbolic links to save them wherever you like:

  1. Move your current Archiveror directory to where you want it to be.
  2. Make sure there is no Archiverordirectory in your Downloads.
  3. Link this new location to your Downloads folder. In this example I moved Archiveror to /home/rahiel/Documents/Archiveror. Run in a terminal, replacing rahiel with your username and the first argument with where you want to store the archives (both arguments need to be full paths):

    ln -s /home/rahiel/Documents/Archiveror/ /home/rahiel/Downloads

Now your local archives should be saved at the new location. If you look in the Downloads folder in your file manager, the Archiveror folder has an arrow, showing the actual data is somewhere else.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

rahiel commented 8 years ago

I'll document this on the wiki, someday. And again, you're welcome to ask more questions if they arise, maybe it will lead to a FAQ :smile:.

orschiro commented 8 years ago

Haha! :D

Well for now I am happily satisfied with having a decent way to take my valuable bookmarks with me.

Thanks!

~Robert

Sent from Nylas N1, the extensible, open source mail client.

On Apr 8 2016, at 2:51 pm, Rahiel Kasim <notifications@github.com> wrote:

I'll document this on the wiki, someday. And again, you're welcome to ask more questions if they arise, maybe it will lead to a FAQ :smile:.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub