Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Apemove This program tries to ape renames performed in directory tree A on another directory tree B. The result is a shell script containing the necessary mv commands. NOTE: The shell script produced should *NEVER* be run without careful examination/editing. The heuristic used by the program can and will make mistakes. Run it at your own risk! Building an executable: Load build.lisp, this will result in an executable called "apemove". Usage from shell: $ ./apemove --ignore '~$' --outfile my-ape-script.sh my-current-folder/ my-backup-folder/ ==> Scanning current directory... Scanning backup directory... $ cat my-ape-script.sh #!/bin/sh mkdir ... mkdir ... mv ... mv ... rmdir ... rmdir ... Usage from REPL: (require :apemove) (apemove:generate-shell-script "my-current-dir/" "my-backup-dir/" :output "moves.sh") -- Apemove depends on apply-argv which currently is not included in quicklisp. Fetch it like this: wget -O apply-argv.zip https://github.com/pve1/apply-argv/zipball/master unzip apply-argv.zip --- Tested on SBCL 1.1.4. Tested on ClozureCL 1.8.