Added mv, fixed rename of esp32, and added touch.
This commit is contained in:
@ -37,7 +37,14 @@
|
||||
again
|
||||
;
|
||||
|
||||
: rm ( "path" --- ) bl parse delete-file throw ;
|
||||
: mv ( "src" "dst" -- ) bl parse bl parse rename-file throw ;
|
||||
: rm ( "path" -- ) bl parse delete-file throw ;
|
||||
|
||||
: touch ( "path" -- )
|
||||
bl parse 2dup w/o open-file
|
||||
if drop w/o create-file throw then
|
||||
close-file throw
|
||||
;
|
||||
|
||||
internals definitions
|
||||
( Leave some room for growth of starting system. )
|
||||
|
||||
@ -409,7 +409,9 @@ e: check-snapshots
|
||||
out: remember
|
||||
out: restore
|
||||
out: save
|
||||
out: touch
|
||||
out: rm
|
||||
out: mv
|
||||
out: cp
|
||||
out: cat
|
||||
out: dump-file
|
||||
|
||||
Reference in New Issue
Block a user