Results 1 to 2 of 2

Thread: Automatic Conditional File Transfers

  1. #1
    Join Date
    Jun 2011

    Automatic Conditional File Transfers

    My first post, hope my question comes across clear... thanks in advance...

    I want to minimize the use of my usb external hdd by only using/transferring files to it when my internal hdd hits a predetermined free space size. The question: is there a program that will monitor 24/7 and move files/folders based on preset conditions?

  2. #2
    Join Date
    Jun 2011
    United Kingdom
    Lubuntu Development Release

    Re: Automatic Conditional File Transfers

    Sure. *nix is good at this. Problem is, you'll need to do some research and figure out how to write a bash script and add it as a Cron Job.

    Now, I can't write this script for you (I don't know your exact configuration), but the following commands may be helpful:

    df - Gives the amount of free space available. See man df
    Bash's if-statement. See

    cp -Copy files and folders.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts