Code Monkey home page Code Monkey logo

dataarchivemanager's Introduction

DataArchiveManager

DataArchiveManager is a simple, automated script designed to manage dataset versions by renaming the '@PRIOR' directory to today's date (YYYYMMDD format) and duplicating '@CURRENT' as the new '@PRIOR' in the 'Archive' directory. This tool helps data analysts who need consistent dataset version control for comparative analysis using Excel tools, ensuring the current and previous dataset states are easily accessible and properly archived.

This script renames the '@PRIOR' directory to today's date in YYYYMMDD format and updates '@CURRENT' to '@PRIOR', streamlining dataset management and analysis.

Installation

Prerequisites

Unix-like operating system (Linux, macOS) Bash shell Write permissions in the dataset directories

Steps

  1. Clone the repository: git clone https://github.com/jasonmoll/DataArchiveManager.git

  2. Navigate to the repository directory: cd DataArchiveManager

  3. Make the script executable: chmod +x dataarchivemanager.sh

Usage

To run DateShiftManager, simply execute the script from the command line: ./dateshiftmanager.sh

Make sure you updated the base_directory variable inside the script to reflect the path of your datasets before running it.

Configuration

Edit dateshiftmanager.sh to set the base_directory to the location where your '@CURRENT' and '@PRIOR' directories are stored. This path must be absolute to ensure reliable script execution.

License This project is licensed under the MIT License - see the LICENSE file for details.

dataarchivemanager's People

Contributors

jasonmoll 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.