You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per @hntuan94, it would be convenient if tfatool exposed a delete_directory function. This function would:
walk through the directory and delete any files within
when the directory's empty, it'd delete the directory itself
The challenge here is to be absolutely sure it's empty before deleting. Listing the contents of the directory before making the final delete would be a good idea. Care is needed because FlashAir will let you delete a directory that isn't empty, but the files within will become unreadable and undeletable forever afterwards. Scary!
The text was updated successfully, but these errors were encountered:
Per @hntuan94, it would be convenient if
tfatool
exposed adelete_directory
function. This function would:The challenge here is to be absolutely sure it's empty before deleting. Listing the contents of the directory before making the final delete would be a good idea. Care is needed because FlashAir will let you delete a directory that isn't empty, but the files within will become unreadable and undeletable forever afterwards. Scary!
The text was updated successfully, but these errors were encountered: