tagmv 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f1e38a10e9ca3a7369ab50f4509529016fd430a
4
- data.tar.gz: 4beb2cf52b95d5f11eda2277a91ad176d759ce23
3
+ metadata.gz: 5d10d02448926a0c0f986ad631e4d2f295eb7962
4
+ data.tar.gz: 323a1d33dd451badf7511b4fee7d6081e228e8c9
5
5
  SHA512:
6
- metadata.gz: cd49965ab7495f1eec74d4fce995f50306f8a062b861b4e99f2efeddace1efcf71fbc77cfeb8163b9cc485c08b89a465b465426ae02a0764eb5f97fb316fefee
7
- data.tar.gz: e29488194f1d0ea19666509ca25e6daa9006068baad3852d546f1a1ec5de187050ce73af94eb05936c8b82b06408b0cb62045d7c3009e90f8d2a87fb77e9a294
6
+ metadata.gz: b62596a0e6821ae819a67215c1a4c74a43e78d95b55f239c6917a42cbe815fa06d0b108b8000ca9e2001508030be28908ebe32544df5494096cf81561afb3284
7
+ data.tar.gz: c4821dfdb7491f3951d9729d74055342d9c5bc6b6155543cfa2a8832618f3862a3187c446c2305a14a40ea3b80d3bbe17d432c083a383a8d67d0a9cb39d86d2e
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Tagmv
2
2
 
3
- File tagging by moving files into tag-based directories.
3
+ The ultimate keep-your-files-organized solution!
4
4
 
5
- The directories that represent tags are organized hierarchically (either by # of items that have the tag or some other method).
5
+ Moves your files into directories that represent tags, these tags are kept organized as a hierarchy according to tag counts.
6
6
 
7
- - Organizes using the plain file system
8
- - Extremely flexible (no tag limit, no tag naming restrictions, hierarchical tags, no file naming restrictions, can tag all files and directories).
9
- - Transparent to other applications, since it works directly with the file system.
7
+ Tag all your files with multiple tags, and watch them end up organized!
8
+
9
+ Works using the most basic parts of the filesystem - no FUSE, no symbolic or hard links.
10
10
 
11
11
  ## Installation
12
12
 
@@ -14,13 +14,27 @@ The directories that represent tags are organized hierarchically (either by # of
14
14
 
15
15
  ## Usage
16
16
 
17
- $ tag <files/directories> -t <tags>
17
+ $ tagmv file1 file2 directory1 directory2 -t tag1 tag2 tag3
18
+
19
+ This will move your files and directories into:
20
+
21
+ ~/t/tag1./tag2./tag3./
22
+
23
+ As you tag more files and folders, it will order the tag directories according to the most popular tags, keeping things organized for you.
24
+
25
+ ## Current features
26
+
27
+ Default directory is "~/t/" (not configurable yet, oops)
28
+
29
+ Supports top level tags - so that you can "pin" certain tags to be the top level directory
30
+
31
+ Config file: ~/.tagmv.yml currently supports the top level tags (no easy way to update config yet)
32
+
18
33
 
19
- ## Development
34
+ ## Upcoming features
20
35
 
21
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
+ Dealing with tags - remove specific tags, rename/merge similar tags, listing tags, etc.
22
37
 
23
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
24
38
 
25
39
  ## Contributing
26
40
 
@@ -10,7 +10,7 @@ module Tagmv
10
10
  header "Options:"
11
11
 
12
12
  footer ""
13
- footer "tagmv by James Robey (http://jamesrobey.com/tagmv/)"
13
+ footer "tagmv by James Robey (https://github.com/foucist/tagmv/)"
14
14
 
15
15
  option :tags, :required => true do
16
16
  short '-t'
@@ -22,33 +22,10 @@ module Tagmv
22
22
  def parse
23
23
  return Choice.help if Choice.rest.empty?
24
24
 
25
- {files: Choice.rest, tags: Choice.choices[:tags]}
25
+ opts = Hash.new
26
+ opts[:files] = Choice.rest
27
+ opts[:tags] = Choice.choices[:tags]
28
+ opts
26
29
  end
27
30
  end
28
31
  end
29
-
30
- #module Tagmv
31
- # class CommandLine
32
- # def self.parse
33
- # Choice.options do
34
- # header "\033[1m\033[32mtagmv\033[0m\033[0m: A Directory-based Tagging Organizer"
35
- # header ""
36
- # header "Options:"
37
- #
38
- # footer ""
39
- # footer "tagmv by James Robey (http://jamesrobey.com/tagmv/)"
40
- #
41
- # option :tags, :required => true do
42
- # short '-t'
43
- # long '--tags *tags'
44
- # desc 'The hostname or ip of the host to bind to (default 127.0.0.1)'
45
- # end
46
- # end
47
- #
48
- # return Choice.help if Choice.rest.empty?
49
- #
50
- # {files: Choice.rest, tags: Choice.choices[:tags]}
51
- # end
52
- # end
53
- #end
54
-
data/lib/tagmv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tagmv
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/tagmv.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["james.robey+tagmv@gmail.com"]
11
11
  spec.summary = %q{Tag your files by moving them into a tree-like tag structure}
12
12
  spec.description = %q{Moves your files into directories that represent tags, these tags are kept organized as a hierarchy according to tag counts}
13
- spec.homepage = "http://jamesrobey.com/tagmv/" #"https://github.com/foucist/tagmv/"
13
+ spec.homepage = "https://github.com/foucist/tagmv/"
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagmv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-22 00:00:00.000000000 Z
11
+ date: 2016-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -119,7 +119,7 @@ files:
119
119
  - lib/tagmv/tree.rb
120
120
  - lib/tagmv/version.rb
121
121
  - tagmv.gemspec
122
- homepage: http://jamesrobey.com/tagmv/
122
+ homepage: https://github.com/foucist/tagmv/
123
123
  licenses:
124
124
  - MIT
125
125
  metadata: {}