29 if( !
isDir( libObj ) )
37 const char *charCmd = strCmd.c_str();
45 if ( system( charCmd ) == 0 ) {};
52 tout << strCmd << endl;
84 const char *charCmd = strCmd.c_str();
92 if ( system( charCmd ) == 0 ) {};
99 tout << strCmd << endl;
111 struct stat readBuffer;
113 if( stat( epObj->
getDirectory().c_str(), &readBuffer) == 0 )
116 if( S_ISDIR( readBuffer.st_mode ) )
The OutPut class prints summary and error information from objects.
static bool getFlags(flagValue)
Retrieves the user configuration flags from an array.
perform an internal action instead of writing a script
string getFilename() const
Stores parsed file information regarding a single episode; to be used as a vector.
string getOldFile() const
Stores all config options, settings, and flags for clerk.
string getDirectory() const
static bool isDir(Episode *)
Checks if the object's new directory exists yet.
static void outputTasks(Episode *, ConfigOpts *, ostream &)
Outputs to the given stream the commands needed to perform the requested tasks.