STAR TREK 2d20
Page 2 of 2 First 12
  1. #11
    Great, then Rsync seems a good way to do it. I'll set up a script to do as you suggest. Can I ask please Andraax, are you running this through some kind of shell in Windows like CygWin?

    I tend to use MobaXterm nowdadays: https://mobaxterm.mobatek.net/

    Will give Rsync a go in that....
    Last edited by mrrockitt; November 26th, 2018 at 17:19.

  2. #12

    Join Date
    Jun 2013
    Location
    Isanti, MN
    Posts
    2,922
    On my Windows boxen, I use CygWin. Attached are the scripts I use.

    FGstart.bat
    Code:
    set PATH=C:\cygwin64\bin;%PATH%
    "C:\Program Files (x86)\Fantasy Grounds\FantasyGrounds.exe"
    
    rem do a backup
    bash ~/bin/backup_games
    
    pause
    backup_games
    Code:
    #!/usr/bin/env bash
    # vi:sw=2:ai
    
    indir=/cygdrive/d/Fantasy\ Grounds/
    outdir=/cygdrive/p/games-backup/
    
    rsync -Ca --delete-after --human-readable \
      --info=BACKUP,COPY,DEL,NAME,STATS \
      "$indir" "$outdir

  3. #13
    Thanks Andraax, that will save me some time this evening!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in