Code Monkey home page Code Monkey logo

filetransfer's Introduction

Overview

This program is a tool to automatically sort files from a source folder into designated folders.

Set up

Clone this directory.

The directories currently in the mydirectories.h header should be changed to match desired directories.

Compile with make and clean with make clean.

How to use

Save files with suffixes that match suffixes in the mydirectories.h header. Suffixes must begin with a hyphen in order to be properly read.

There must be 5 directories. If unused, change the suffix to -NULL and the path to an empty string.

Files must be saved to the designated source folder. Run the program and files will be sorted to corresponding folders based on their suffixes.

Running in the background

The file watch.py can be executed to check for new files every 10 seconds and can be ran in the background. This requires python to be installed. I am not sure which version is required but I reccomend the most recent version as I am using 3.7.

To run on startup, add python3.7 path/to/file/watch.py to your startup thing you have going on for your system.

For example, I am using i3wm and i have exec_always python3.7/home/peter/Documents/FileTransfer/watch.py in my i3 config file.

filetransfer's People

Contributors

kylelaker avatar

Stargazers

Nelson Downs avatar  avatar

filetransfer's Issues

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.