pathedit 0.1 – Change your filesystem using your favorite editor
I read on one of the Planets about this idea, but I could never find the post so I reimplemented the idea in Ruby. The idea is, you can use a text editor to do mass file moves/renames/copies/etc. I wrote it to organize my downloaded TV shows, and it works pretty well and hasn’t eaten any of my data yet. Of course, the standard caveats apply.
The utility reads paths from either standard input or passed as parameters. Here’s the output from --help
If no files are given, the paths will be read from standard input
Specific options:
-a, –action type Action to perform (one of ‘copy’, ‘move’, ‘symlink’)
Common options:
-d, –debug Run in debug mode (Extra messages)
-v, –verbose Run verbosely
-h, –help Show this message
–version Show version
Caveats for this version
- Might give you problems on Windows unless you pass paths as parameters – soon to be fixed
- Can only use GUI editors in Linux, cause that’s the only operating system that handles GUI apps correctly – hopefully I can fix this too
