Skip to content

randcp -- program that randomly copying files from one directory to another

Notifications You must be signed in to change notification settings

RussianBruteForce/randcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

INFO
	randcp -- program that randomly copying files from one directory to another

LICENSE
	DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
	        Version 2, December 2004

	Copyright (C) 2013 Victor Hackeridze <bruteforce@sigil.tk>

	Everyone is permitted to copy and distribute verbatim or modified
	copies of this license document, and changing it is allowed as long
	as the name is changed.

	DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
	TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

	0. You just DO WHAT THE FUCK YOU WANT TO.

COMPILE
	$ qmake
	$ make

RUN
	$ ./randcp

INSTALL
	$ sudo mv randcp /usr/bin
	or
	# mv randcp /usr/bin

USAGE
	From help(randcp -h):
	Usage:
		rancp -f FROM -t TO
	Options:
		-h		Print this help.
		-f DIR		Set the FROM directory.
		-t DIR		Set the TO directory.
		-e EXT		Copy only files with EXT extension.
		-v		Print verbose info.
		-r		Copy files recursively.
		-c NUM		Set number of threads. It uses OpenMP.
EXAMPLES
	Command:
	$ randcp -r -v -f ~/music -t /mnt/mp3player -e mp3
	will randomly copy all mp3 files from ~/music and
	all directories included to /mnt/mp3player
	with verbose output.

TODO
	Copy only files that no older than TIME by -o key.
	

About

randcp -- program that randomly copying files from one directory to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published