Closed rvolosatovs closed 8 years ago
This looks great, thanks! I worked around the .deletedFiles.log
problem for now with a hack - I think it is a BrowserFS bug, but we're on an old version so I want to try to upgrade before reporting it upstream to John.
The '-r' flag was implmented wrong, rewrote the function using recursion to loop over dir contents. The check for '.' and '..' is unneeded given the node.js specification of 'fs.readdir'
rm -rf /
seem to be failing due to missing '.deletedFiles.log' after first iterations of the function.Removed unnecessary comment in xargs