Fsync

command module
v0.0.0-...-503a39c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

Fsync

CLI app for automating folder backup

Win x64 compiled binaries here

Usage

config
PS C:\Go\Fsync> fsync config

the config flag will open the "Select folder" for the source and the destination, then it will ask if the paths selected are correct, if you click yes, the path will be saved to "config.ini"


list
PS C:\Go\Fsync> fsync list

the list flag will list all folders "queued" to sync

Example:

PS C:\Go\Fsync> fsync list

Total Paths: 2

src: G:\test
dest: G:\test2

src: G:\text
dest: C:\Users\user123\Documents\test

sync
PS C:\Go\Fsync> fsync sync

the sync flag will sync all the folders registered in "config.ini"

Example:

PS C:\Go\Fsync> fsync sync

Backing up: G:\test
G:\test2\copy\readme.txt already exists
copying G:\test\index.html
G:\test2\readme - Copy.txt already exists
G:\test2\readme.txt already exists

Backing up: G:\text
copying C:\Users\user123\Documents\test\text.txt

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL