Coder Social home page Coder Social logo

backup-files's Introduction

Backup Script

A Bash script for backing up directories and files, which creates backup folders with timestamps and copies the requested files.

Prerequisites

Before running this script, make sure that you have the following packages installed:

  • lolcat
  • git

In case any of these packages is missing, the script will prompt you to install them.

Usage

  1. Clone the repository to your desired directory using git: git clone https://github.com/Irmb7108/backup-file
  2. Open the cloned repository directory: cd backup-file
  3. run chmod +x backup.sh
  4. Run the script: ./backup.sh
  5. Follow the instructions that appear on the screen.

Features

  • If a necessary package is not found, the script asks if you would like to install it.
  • Creates a directory with timestamps and copies backup files there.
  • Copies only backup files into the created directory.
  • Shows the progress of copying files through an animated spinner.
  • Writes the backup information to backup_$(date "+%H-%M-%S").md file.

Dependencies

This script requires the following packages to be installed:

  • git
  • lolcat
  • figlet

Credits

Created by IR-MB.

Contributions from ChatGPT AI during the project are greatly appreciated!

mycode

backup-files's People

Contributors

irmb7108 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.