Good question. In general, all file system commands directly implemented in Grunt have been deprecated in favor of fs command. However, since rmf currently does not have equivalent in fs, we will keep it around till equivalent functionality is available in fs.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 12, 2011 1:23 PM
To: [EMAIL PROTECTED]
Subject: rmf for forrced rm
The function ‘rmf’ for forced removal is no longer (0.9.0) mentioned, except that it is a reserved word, in the user docs for pig. It was documented in the 0.8.1. I wonder -- is this function deprecated? Will it go away in a future version of pig? I have found rmf useful since I can’t find a way around ‘fs -rm’ throwing an error on a non-existing file.
William F Dowling
Sr Technical Specialist, Software Engineering