toObj = CliUtil.extractObject( path, preferDirectory );
}
}
// print copy progress if we're copying across stores
ProgressPrinter progressPrinter = null;
assert fromObj != null;
assert toObj != null;
if ( !args.hasFlag("quiet") && !fromObj.getParentStore( ).equals( toObj.getParentStore( )) )
{
fromObj.refreshMetadata( );
progressPrinter = new ProgressPrinter( out );
}
if ( fromObj.getStoreObjectType( ) == CloudStoreObjectType.DIRECTORY )
{
if ( toObj.getStoreObjectType( ) != CloudStoreObjectType.DIRECTORY )