|
From: El O. De M. <obs...@gm...> - 2024-03-01 17:23:26
|
Hi list
I want to handle a folder with more than 70000 files and 50000 directories
and delete from it several files and directories using Maxima, if it is
possible.
There is a package in contrib named operatingsystem that potentially can do
this task but i can not figure out how to use it.
I tried this:
(%i1) file_search("operatingsystem.mac")$
(%i2) load(%)$
(%i3) for i in "C:\Users\Usuario\Documents\Trabajos en
wxmaxima\MiscRepo\OldSchool\OtherNibble\RosettaCodeData-main\Task\Sudoku" do
if i#"Common-Lisp" or i#"Maxima" then rmdir(i);
do loop: 'in' argument must be a nonatomic expression; found:
"C:UsersUsuarioDocumentsTrabajos en
wxmaximaMiscRepoOldSchoolOtherNibbleRosettaCodeData-main"
-- an error. To debug this try: debugmode(true);
I did also try with the path in which \ was replaced with /
Can this task be done using Maxima?
Thanks in advance
--
https://github.com/Observatorio-de-Matematica
|