#!/bin/csh -f

if ($#argv > 2 || $1:q == "-h" || $1:q == "--help") then
    echo "Copies files to the ToNothafts folder of DropBox"
    echo "Usage: $0:t [file_or_dir [new_file_or_dir_name]]"
    exit 1
endif

if ($#argv == 0) then
    echo $tonothafts
    dir $tonothafts
else if ($#argv == 1) then
    cp -ivr $1:q $tonothafts
else
    cp -ivr $1:q $tonothafts/$2:q
endif