-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
89 lines (68 loc) · 1.74 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
TAGS
----
Sets and displays the properties of a file, that stored in a special index file in the same folder.
The program does not modify any files except its index file!
See showHelp() in main.c for details.
EXAMPLES
-------
$ cd my_photo
$ tags -c
Initialization...
Ok
$ tags -s tag=animals@year=2013 *.jpg
Information was added for 4 files
$ tags -a tag=cat photo1.jpg photo2.jpg
Information was updated for 2 files
$ tags -a tag=dog photo3.jpg
Information was updated for 1 files
$ tags -a tag=fox photo4.jpg
Information was updated for 1 files
$ tags -a tag=pets -w tag=cat,dog *.jpg
Information was updated for 3 files
$ tags -l
photo1.jpg
photo3.jpg
photo4.jpg
photo2.jpg
$ tags -l -w tag=dog,fox
photo3.jpg
photo4.jpg
$ tags -d year photo1.jpg
Information was updated for 1 files
$ tags -l -w tag=cat -f @FileName,year
photo1.jpg -
photo2.jpg 2013
$ tags -l -w year -f @FileName,@FileSize,year
photo3.jpg 2089322 2013
photo4.jpg 2130072 2013
photo2.jpg 2271426 2013
$ tags -l -w year= -f @FileSize,@FileName
2059851 photo1.jpg
$ tags -p
tag 4
tag=dog 1
tag=fox 1
tag=cat 2
tag=pets 3
tag=animals 4
year 3
year=2013 3
$ cat tags.info
!tags-info
!version=0.1
!format=simple
[2059851:23294b67e1709a54d8842d9c69cc3e79bda68711]
!FileName=photo1.jpg
tag=animals,cat,pets
[2089322:12e80aa26d5c507bd0bf5bcc621f500a6009582c]
!FileName=photo3.jpg
tag=animals,dog,pets
year=2013
[2130072:882f5fd53bbde4b0df78586418f28164455ddcb7]
!FileName=photo4.jpg
tag=animals,fox
year=2013
[2271426:21bfbceac90ef9241fb3c0f48cfc4deabb0881a0]
!FileName=photo2.jpg
tag=animals,cat,pets
year=2013