-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
52 lines (41 loc) · 1.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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 <[email protected]>
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.