![]() |
![]() |
Home | Programming | Web Design | Contact Me |
|||
|
selcopy This utility makes quick work of the task of copying select files from within a large directory structure to another location. When I bought an in-dash MP3 player for my car, I needed to go through the MP3 collection on my hard drive and select the particular files I wanted on a given CD. Doing that by hand quickly became tedious, so I wrote this program. When you run it, you provide it with a source directory and a destination directory, and it goes through the source directory structure, showing you numbered listings of the files in each directory. From these lists you choose which files you will want copied, and the program queues them up until you give it the command to copy them over to the destination directory. The standard mode is an interactive mode with various commands for expediting the task, such as quickly navigating through the directory structure either sequentially or arbitrarily, appending files to the queue, listing and clearing the queue, etc. A list of these commands is available by typing h at the prompt. The --one-by-one option puts you into one-by-one mode, an altered interactive mode which provides you with all of the same commands as the standard mode, but instead of a numbered listing of all the files as you go into each directory, you are prompted for a yes or no on each file. The program can also be used in non-interactive mode by using the --queuefile option. With this option, the program reads a previously stored list of files and copies them immediately. With the task of making CDs in mind, the queuefile functionality provides for saving lists of the files on a given CD so you can re-create the CD later with just a few commands. You make these queuefiles at any time in interactive mode with the 'w' command, which writes the current contents of the queue to the file you specify. This script is distributed under the terms of the Gnu General Public License and comes with no warranty whatsoever. Please see www.gnu.org for more information.
Here you go:
|
|||||