• 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle








  • I just use syncthing and set up the appropriate send /receive permissions for each folder

    When I want to access those files remotely, I just sftp / ssh into the server. (Someone more knowledgeble than me can help you with that part, I just install Tailscale on my devices for remote ssh)

    sure it may not be elegant, but is pretty easy to maintain in the long run (see complaints about updating / setting up nextcloud in this thread)

    maybe this will help with setup. Note he is doing bidirectional sync, but one way sync works too:

    https://www.youtube.com/watch?v=dBVTedUWbfg

    edit: forgot to mention, this is cross platform across Mac, Windows, Android, and Linux. Not sure about iOS









  • I think this is an easier way to do it:

    add this to a file called .bash_aliases instead (it should be a file right next to .bashrc, if not just create it)

    You can add aliases to .bashrc with this, but I personally perfer to have aliases in their own file

    Another thing, if you have a console window open while adding it, restart it so that the console is aware of the aliases. Alternatively, google something like “sourcing bashrc” or “sourcing aliases” and apply the commands you find

    If you wish to add aliases to a bash script (for later automation), you add these two lines

    shopt -s expand_aliases

    source ~/.bash_aliases

    but of course add this to the top of your bash scripts, so that your script knows to use the bash shell:

    #!/bin/bash