diff options
| author | BardofSprites <[email protected]> | 2024-09-30 22:49:07 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2024-09-30 22:49:07 -0400 |
| commit | 79a10d2b0588f94b0d454a6276bbf0c984c5d23d (patch) | |
| tree | 6669170765639803a1462713dcc591f61c96ff5f /bin/.local | |
| parent | e02fe0d6309599ae79ec59956993f74ec5ab8fe8 (diff) | |
in progress: cd playlist program
Diffstat (limited to 'bin/.local')
| -rw-r--r-- | bin/.local/bin/scripts/lisp/cd.lisp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/.local/bin/scripts/lisp/cd.lisp b/bin/.local/bin/scripts/lisp/cd.lisp new file mode 100644 index 0000000..eb17110 --- /dev/null +++ b/bin/.local/bin/scripts/lisp/cd.lisp @@ -0,0 +1,15 @@ +(require 'asdf) + +(asdf:load-system :uiop) + +(defun read-playlist (path) + (if (probe-file (uiop:native-namestring path)) + (progn + (format t "File exists") + (uiop:read-file-lines path)) + (progn + (format t "Playlist file doesn't exist: ~a~%" (uiop:native-namestring)) + (return-from read-playlist nil)))) + +(defun move-files () + (ensure-directories-exist ())) |
