                                     consoleOutput("Created symbolic link for \(songLink) \(file)")
                                 }
                             } catch {
-                                consoleOutput("Error creating symbolic links links: \(error)")
+                                consoleOutput("Error creating symbolic links: \(error)")
+                            }
+                        }
+                        
+                        if option.action == .m {
+                            do {
+                                if let file = option.fileSelection where (file - 1) < existing.count {
+                                    let songP = songPath(existing[file - 1])
+                                    consoleOutput("Attempting to move file to directory...")
+                                    //try FileManager.default().moveItem(atPath: songP, toPath: acoustidDirPath)
+                                    loggedFiles = loggedFiles.filter { return !$0.contains(songP) }
+                                    try FileManager.default().removeItem(atPath: filesAndHashesFile)
+                                    FileManager.default().createFile(atPath: filesAndHashesFile, contents: nil, attributes: nil)
+                                    for line in loggedFiles {
+                                        write(string: "\(line)\n", toFile: filesAndHashesFile)
+                                    }
+                                } else {
+                                    print("Invalid song number.")
+                                    continue
+                                }
+                            } catch {
+                                consoleOutput("Error moving file: \(error)")
                             }
                         }
                         

// MARK: Tool info

/// Command line tool version
let VERSION = "0.0.1"

/// Path of the fpcalc tool.
let fpcalcPath: String

        }
        
        /// Represents a valid interactive action.
        typealias SReadlineOption = (action: SReadlineAction, fileSelection: Int?, errorMessage: String?)
        
        func parseOption(userInput: String) -> SReadlineOption {
            let splat = userInput.characters.split{$0 == " "}.map(String.init)
